.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Post New Resource Bookmark and Share   

concatenation type2

Posted By:Maharaja       Posted Date: September 25, 2011    Points: 200    Category:    URL: http://www.dotnetspark.com  

simple another concat type
 

/*2.concatenation*/

 

using System;

using System.Collections.Generic;

using System.Linq;

using System.Text;

 

namespace ConsoleApplication1

{

    class Program

    {

        static void Main(string[] args)

       

        {

            string s1 = "maharaja";

 

            string s2 = s1 + "\nb.scmaths";

 

            Console.WriteLine(s2);

            Console.ReadLine();

           

       

        }

    }

}

 

 



     

Further Readings:

Responses

No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend