Mega Code Archive

 
Categories / Visual C++ .NET / Data Type
 

Create some strings

#include "stdafx.h" using namespace System; void main() {     String^ s1 = "This will ";     String^ s2 = "be a ";     String^ s3 = "String";     Console::WriteLine(String::Concat(s1, s2, s3)); }