Code to display string in C# or C sharp? Warning: Trying to access array offset on false in /home3/indiakep/public_html/wp-content/plugins/dw-question-answer/inc/Template.php on line 8 All Questions › Category: C#_language › Code to display string in C# or C sharp? 0 Vote Up Vote Down Chetan Shidling asked 6 years ago I need short information. 1 Answers 0 Vote Up Vote Down Chetan Shidling answered 6 years ago The basic syntax is: string name = "Chetan"; Console.WriteLine(name);