How to find min and max values of char in C#

1 Answer

0 votes
using System;
 
class Program
{
    static void Main()
    {
        Console.WriteLine((int)char.MinValue);
        Console.WriteLine((int)char.MaxValue);
    }
}
  
  
/*
run:
  
0
65535
  
*/

 



answered Sep 12, 2020 by avibootz

Related questions

1 answer 154 views
1 answer 167 views
167 views asked Sep 12, 2020 by avibootz
1 answer 153 views
1 answer 116 views
1 answer 100 views
1 answer 119 views
...