how to create a method that can take string in c# code example Example: /* String type demo program */ using namespace std;