Concatenation of integer and string

Posted by Karthikanbarasan under C# category on | Points: 40 | Views : 2125
This code shows concatenation of an Integer and string and show the output in a console application.

class Program
static void Main(string[] args)
int intInteger;
string strString;
intInteger = 17;
strString = "\"Integer value\" is";
Console.WriteLine("{0} {1}.", strString, intInteger);

Comments or Responses

Login to post response