String Concatenation
-
How to do String Concatenation in asp.net? I want with && function. Can anybody help please.
-
How to do String Concatenation in asp.net? I want with && function. Can anybody help please.
The String.Concat method works the same from any language, as it's part of the framework. Example:
string s = String.Concat("We have ", products.Count.ToString(), " products.");
The specific programming language that you use has alternative ways of writing this. Example:string s = "We have " + products.Count.ToString() + " products.";
These two examples actually produce the exact same code.--- single minded; short sighted; long gone;
-
The String.Concat method works the same from any language, as it's part of the framework. Example:
string s = String.Concat("We have ", products.Count.ToString(), " products.");
The specific programming language that you use has alternative ways of writing this. Example:string s = "We have " + products.Count.ToString() + " products.";
These two examples actually produce the exact same code.--- single minded; short sighted; long gone;