Skip to main content
Commonmark migration
Source Link

##C#, 105 117 109 107 101 99 59 bytes

C#, 105 117 109 107 101 99 59 bytes


Golfed

void m(ulong u){while(u>=0)System.Console.WriteLine(u--);}

Ungolfed

void m( ulong u ) {
    while (u >= 0)
        System.Console.WriteLine(u--);
}

Releases

  • v3.0 - -40 bytes - Changed the output to directly print to the console with a new line at the end. This update allows the usage of ulong. Once again, this is thanks to hstde.
  • v2.4 - -2 bytes - Replaced long with int due to the limitations of the capacity of List<T>, which is capped to the max of Int32.MaxValue in the implementation. The reason for changing to int can be found here. You can also explore this limitation in Reference Source.
  • v2.3 - -6 bytes - Using var instead of List<long>. Thanks to hstde.
  • v2.2 - -2 bytes - Fixed the decrements of the counter and removed brackets.
  • v2.1 - -8 bytes - Update to use the argument, making the code shorter and faster.
  • v2.0 - +12 bytes - Update to List<> since arrays max size is Int32.MaxValue == 2 ^ 32 - 1
  • v1.0 - 105 bytes - Initial release

##C#, 105 117 109 107 101 99 59 bytes


Golfed

void m(ulong u){while(u>=0)System.Console.WriteLine(u--);}

Ungolfed

void m( ulong u ) {
    while (u >= 0)
        System.Console.WriteLine(u--);
}

Releases

  • v3.0 - -40 bytes - Changed the output to directly print to the console with a new line at the end. This update allows the usage of ulong. Once again, this is thanks to hstde.
  • v2.4 - -2 bytes - Replaced long with int due to the limitations of the capacity of List<T>, which is capped to the max of Int32.MaxValue in the implementation. The reason for changing to int can be found here. You can also explore this limitation in Reference Source.
  • v2.3 - -6 bytes - Using var instead of List<long>. Thanks to hstde.
  • v2.2 - -2 bytes - Fixed the decrements of the counter and removed brackets.
  • v2.1 - -8 bytes - Update to use the argument, making the code shorter and faster.
  • v2.0 - +12 bytes - Update to List<> since arrays max size is Int32.MaxValue == 2 ^ 32 - 1
  • v1.0 - 105 bytes - Initial release

C#, 105 117 109 107 101 99 59 bytes


Golfed

void m(ulong u){while(u>=0)System.Console.WriteLine(u--);}

Ungolfed

void m( ulong u ) {
    while (u >= 0)
        System.Console.WriteLine(u--);
}

Releases

  • v3.0 - -40 bytes - Changed the output to directly print to the console with a new line at the end. This update allows the usage of ulong. Once again, this is thanks to hstde.
  • v2.4 - -2 bytes - Replaced long with int due to the limitations of the capacity of List<T>, which is capped to the max of Int32.MaxValue in the implementation. The reason for changing to int can be found here. You can also explore this limitation in Reference Source.
  • v2.3 - -6 bytes - Using var instead of List<long>. Thanks to hstde.
  • v2.2 - -2 bytes - Fixed the decrements of the counter and removed brackets.
  • v2.1 - -8 bytes - Update to use the argument, making the code shorter and faster.
  • v2.0 - +12 bytes - Update to List<> since arrays max size is Int32.MaxValue == 2 ^ 32 - 1
  • v1.0 - 105 bytes - Initial release
replaced http://stackoverflow.com/ with https://stackoverflow.com/
Source Link

##C#, 105 117 109 107 101 99 59 bytes


Golfed

void m(ulong u){while(u>=0)System.Console.WriteLine(u--);}

Ungolfed

void m( ulong u ) {
    while (u >= 0)
        System.Console.WriteLine(u--);
}

Releases

  • v3.0 - -40 bytes - Changed the output to directly print to the console with a new line at the end. This update allows the usage of ulong. Once again, this is thanks to hstde.
  • v2.4 - -2 bytes - Replaced long with int due to the limitations of the capacity of List<T>, which is capped to the max of Int32.MaxValue in the implementation. The reason for changing to int can be found herehere. You can also explore this limitation in Reference Source.
  • v2.3 - -6 bytes - Using var instead of List<long>. Thanks to hstde.
  • v2.2 - -2 bytes - Fixed the decrements of the counter and removed brackets.
  • v2.1 - -8 bytes - Update to use the argument, making the code shorter and faster.
  • v2.0 - +12 bytes - Update to List<> since arrays max size is Int32.MaxValue == 2 ^ 32 - 1
  • v1.0 - 105 bytes - Initial release

##C#, 105 117 109 107 101 99 59 bytes


Golfed

void m(ulong u){while(u>=0)System.Console.WriteLine(u--);}

Ungolfed

void m( ulong u ) {
    while (u >= 0)
        System.Console.WriteLine(u--);
}

Releases

  • v3.0 - -40 bytes - Changed the output to directly print to the console with a new line at the end. This update allows the usage of ulong. Once again, this is thanks to hstde.
  • v2.4 - -2 bytes - Replaced long with int due to the limitations of the capacity of List<T>, which is capped to the max of Int32.MaxValue in the implementation. The reason for changing to int can be found here. You can also explore this limitation in Reference Source.
  • v2.3 - -6 bytes - Using var instead of List<long>. Thanks to hstde.
  • v2.2 - -2 bytes - Fixed the decrements of the counter and removed brackets.
  • v2.1 - -8 bytes - Update to use the argument, making the code shorter and faster.
  • v2.0 - +12 bytes - Update to List<> since arrays max size is Int32.MaxValue == 2 ^ 32 - 1
  • v1.0 - 105 bytes - Initial release

##C#, 105 117 109 107 101 99 59 bytes


Golfed

void m(ulong u){while(u>=0)System.Console.WriteLine(u--);}

Ungolfed

void m( ulong u ) {
    while (u >= 0)
        System.Console.WriteLine(u--);
}

Releases

  • v3.0 - -40 bytes - Changed the output to directly print to the console with a new line at the end. This update allows the usage of ulong. Once again, this is thanks to hstde.
  • v2.4 - -2 bytes - Replaced long with int due to the limitations of the capacity of List<T>, which is capped to the max of Int32.MaxValue in the implementation. The reason for changing to int can be found here. You can also explore this limitation in Reference Source.
  • v2.3 - -6 bytes - Using var instead of List<long>. Thanks to hstde.
  • v2.2 - -2 bytes - Fixed the decrements of the counter and removed brackets.
  • v2.1 - -8 bytes - Update to use the argument, making the code shorter and faster.
  • v2.0 - +12 bytes - Update to List<> since arrays max size is Int32.MaxValue == 2 ^ 32 - 1
  • v1.0 - 105 bytes - Initial release
replaced http://codegolf.stackexchange.com/ with https://codegolf.stackexchange.com/
Source Link

##C#, 105 117 109 107 101 99 59 bytes


Golfed

void m(ulong u){while(u>=0)System.Console.WriteLine(u--);}

Ungolfed

void m( ulong u ) {
    while (u >= 0)
        System.Console.WriteLine(u--);
}

Releases

  • v3.0 - -40 bytes - Changed the output to directly print to the console with a new line at the end. This update allows the usage of ulong. Once again, this is thanks to hstdehstde.
  • v2.4 - -2 bytes - Replaced long with int due to the limitations of the capacity of List<T>, which is capped to the max of Int32.MaxValue in the implementation. The reason for changing to int can be found here. You can also explore this limitation in Reference Source.
  • v2.3 - -6 bytes - Using var instead of List<long>. Thanks to hstdehstde.
  • v2.2 - -2 bytes - Fixed the decrements of the counter and removed brackets.
  • v2.1 - -8 bytes - Update to use the argument, making the code shorter and faster.
  • v2.0 - +12 bytes - Update to List<> since arrays max size is Int32.MaxValue == 2 ^ 32 - 1
  • v1.0 - 105 bytes - Initial release

##C#, 105 117 109 107 101 99 59 bytes


Golfed

void m(ulong u){while(u>=0)System.Console.WriteLine(u--);}

Ungolfed

void m( ulong u ) {
    while (u >= 0)
        System.Console.WriteLine(u--);
}

Releases

  • v3.0 - -40 bytes - Changed the output to directly print to the console with a new line at the end. This update allows the usage of ulong. Once again, this is thanks to hstde.
  • v2.4 - -2 bytes - Replaced long with int due to the limitations of the capacity of List<T>, which is capped to the max of Int32.MaxValue in the implementation. The reason for changing to int can be found here. You can also explore this limitation in Reference Source.
  • v2.3 - -6 bytes - Using var instead of List<long>. Thanks to hstde.
  • v2.2 - -2 bytes - Fixed the decrements of the counter and removed brackets.
  • v2.1 - -8 bytes - Update to use the argument, making the code shorter and faster.
  • v2.0 - +12 bytes - Update to List<> since arrays max size is Int32.MaxValue == 2 ^ 32 - 1
  • v1.0 - 105 bytes - Initial release

##C#, 105 117 109 107 101 99 59 bytes


Golfed

void m(ulong u){while(u>=0)System.Console.WriteLine(u--);}

Ungolfed

void m( ulong u ) {
    while (u >= 0)
        System.Console.WriteLine(u--);
}

Releases

  • v3.0 - -40 bytes - Changed the output to directly print to the console with a new line at the end. This update allows the usage of ulong. Once again, this is thanks to hstde.
  • v2.4 - -2 bytes - Replaced long with int due to the limitations of the capacity of List<T>, which is capped to the max of Int32.MaxValue in the implementation. The reason for changing to int can be found here. You can also explore this limitation in Reference Source.
  • v2.3 - -6 bytes - Using var instead of List<long>. Thanks to hstde.
  • v2.2 - -2 bytes - Fixed the decrements of the counter and removed brackets.
  • v2.1 - -8 bytes - Update to use the argument, making the code shorter and faster.
  • v2.0 - +12 bytes - Update to List<> since arrays max size is Int32.MaxValue == 2 ^ 32 - 1
  • v1.0 - 105 bytes - Initial release
added 203 characters in body
Source Link
auhmaan
  • 896
  • 5
  • 7
Loading
added 675 characters in body
Source Link
auhmaan
  • 896
  • 5
  • 7
Loading
added 130 characters in body; added 89 characters in body
Source Link
auhmaan
  • 896
  • 5
  • 7
Loading
added 169 characters in body
Source Link
auhmaan
  • 896
  • 5
  • 7
Loading
Source Link
auhmaan
  • 896
  • 5
  • 7
Loading