How to get the size, min and max of uint Data Type in C#

1 Answer

0 votes
using System;

namespace ConsoleApplication_C_Sharp
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine(sizeof(uint));
            Console.WriteLine(uint.MinValue);
            Console.WriteLine(uint.MaxValue);
        }
    }
}


/*
run:
    
4
0
4294967295

*/

 



answered Dec 12, 2016 by avibootz

Related questions

1 answer 154 views
1 answer 165 views
1 answer 157 views
1 answer 154 views
1 answer 169 views
1 answer 157 views
1 answer 144 views
...