StringBuilder programming in c#

Jitendrasoft09
Posted by Jitendrasoft09 under C# category on | Points: 40 | Views : 674
using System;
using System.Text;

class JkExample {

static void Main(string[] args) {


StringBuilder myBuilder = new StringBuilder();

myBuilder.Append(" Kumar");

myBuilder.Insert(0, "Jitendra ");

Console.WriteLine("my name is : {0}", myBuilder);


Console.ReadLine();
}
}

Comments or Responses

Login to post response