Skip to main content
edited body
Source Link
Dariusz Woźniak
  • 1.3k
  • 1
  • 12
  • 16

C#, 79 54 53 bytes

This works on Windows.

79 bytes:

class _{static void Main(){System.Diagnostics.Process.Start("shutdown","/s");}}

5453 bytes, thanks to TheLethalCoder:

_=>System.Diagnostics.Process.Start("shutdown","/s");

C#, 79 54 53 bytes

This works on Windows.

79 bytes:

class _{static void Main(){System.Diagnostics.Process.Start("shutdown","/s");}}

54 bytes, thanks to TheLethalCoder:

_=>System.Diagnostics.Process.Start("shutdown","/s");

C#, 79 54 53 bytes

This works on Windows.

79 bytes:

class _{static void Main(){System.Diagnostics.Process.Start("shutdown","/s");}}

53 bytes, thanks to TheLethalCoder:

_=>System.Diagnostics.Process.Start("shutdown","/s");
added 19 characters in body
Source Link
Dariusz Woźniak
  • 1.3k
  • 1
  • 12
  • 16

C#, 79 5454 53 bytes

This works on Windows.

79 bytes:

class _{static void Main(){System.Diagnostics.Process.Start("shutdown","/s");}}

54 bytes, thanks to TheLethalCoder:

_=>System.Diagnostics.Process.Start("shutdown", "/s");

C#, 79 54 bytes

This works on Windows.

79 bytes:

class _{static void Main(){System.Diagnostics.Process.Start("shutdown","/s");}}

54 bytes, thanks to TheLethalCoder:

_=>System.Diagnostics.Process.Start("shutdown", "/s");

C#, 79 54 53 bytes

This works on Windows.

79 bytes:

class _{static void Main(){System.Diagnostics.Process.Start("shutdown","/s");}}

54 bytes, thanks to TheLethalCoder:

_=>System.Diagnostics.Process.Start("shutdown","/s");
added 1 character in body
Source Link
Dariusz Woźniak
  • 1.3k
  • 1
  • 12
  • 16

C#, 79 54 bytes

This works on Windows.

79 bytes:

class _{static void Main(){System.Diagnostics.Process.Start("shutdown","/s");}}

54 bytes, thanks to TheLethalCoder:

_=>System.Diagnostics.Process.Start("shutdown", "/s");

C# 79 54 bytes

This works on Windows.

79 bytes:

class _{static void Main(){System.Diagnostics.Process.Start("shutdown","/s");}}

54 bytes, thanks to TheLethalCoder:

_=>System.Diagnostics.Process.Start("shutdown", "/s");

C#, 79 54 bytes

This works on Windows.

79 bytes:

class _{static void Main(){System.Diagnostics.Process.Start("shutdown","/s");}}

54 bytes, thanks to TheLethalCoder:

_=>System.Diagnostics.Process.Start("shutdown", "/s");
added 142 characters in body
Source Link
Dariusz Woźniak
  • 1.3k
  • 1
  • 12
  • 16
Loading
added 26 characters in body
Source Link
Dariusz Woźniak
  • 1.3k
  • 1
  • 12
  • 16
Loading
Source Link
Dariusz Woźniak
  • 1.3k
  • 1
  • 12
  • 16
Loading