Just trying to inject a string into another? Use a placeholder such as...
Code:string y = "CodeGuru site"; Console.WriteLine(string.Format("site is {0}", y));
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 3 of 3
Thread: String FormatThreaded View
|
Click Here to Expand Forum to Full Width |