Mega Code Archive

 
Categories / C# / Development Class
 

Math Sqrt Method returns the square root of a specified number

using System; class Sample {     public static void Main()     {         short xShort1 = 2;         Console.WriteLine(Math.Sqrt(xShort1));     } }