How to get min and max sort value in C#

1 Answer

0 votes
using System;

class Program
{
    static void Main() {
        Console.WriteLine(short.MinValue);
        
        Console.WriteLine(short.MaxValue);
    }
}




/*
run:

-32768
32767

*/

 



answered Jun 9, 2021 by avibootz

Related questions

1 answer 249 views
1 answer 230 views
1 answer 253 views
253 views asked Jun 9, 2021 by avibootz
1 answer 245 views
1 answer 237 views
237 views asked Jun 9, 2021 by avibootz
1 answer 281 views
1 answer 228 views
...