Dot Net Interview Questions and Tutorials By Dr. Rajesh Rolen
Console.WriteLine(Convert.ToString(value, 2)); // Outputs "10101010" Console.WriteLine(Convert.ToString(value, 8)); // Outputs "271" Console.WriteLine(Convert.ToString(value, 16)); // Outputs "b9"
Post a Comment
No comments:
Post a Comment