Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

how to append something to a string in c#

string fName = "hello ";    
string lName = "world";    
string Name = string.Concat(fName, lName); 
//or
string firstName = "hello ";    
string lastName = "world";    
string name = firstName + " " + lastName; 
 
PREVIOUS NEXT
Tagged: #append #string
ADD COMMENT
Topic
Name
8+5 =