Convert value type to string in string concatenation
class MainClass
{
public static void Main()
{
const double Pi = 3.14159;
System.Console.WriteLine("Pi = " + Pi);
}
}
Output Pi = 3.14159
|
HTML code for linking to this page:
Related in same category :
-
|