c# set string code example Example 1: /* String type demo program */ /* String type demo program */ Example 2: /* String type demo program */ using namespace std;