Skip to content
  • Home
  • Blogs
  • QNA
    • Community
    • Ask
    • Questions
  • Explore
    • Tools
    • Computer Science
    • Electrical
    • Electronics
    • Digital Marketing
    • Technology
    • Hiring Process
    • Interview Questions
    • Roadmap
    • Comparison
    • What Is
    • Project
    • Top Things
    • TechNews
  • News?
  • Login
newlogo of cs Electrical And Elect
  • Home
  • Blogs
  • QNA
    • Community
    • Ask
    • Questions
  • Explore
    • Tools
    • Computer Science
    • Electrical
    • Electronics
    • Digital Marketing
    • Technology
    • Hiring Process
    • Interview Questions
    • Roadmap
    • Comparison
    • What Is
    • Project
    • Top Things
    • TechNews
  • News?
  • Login

Code to display string in C# or C sharp?

All Questions › Category: C#_language › Code to display string in C# or C sharp?
0 Vote Up Vote Down
Chetan Shidling asked 5 years ago

I need short information.

1 Answers
0 Vote Up Vote Down
Chetan Shidling answered 5 years ago

The basic syntax is:
 

string name = "Chetan";
Console.WriteLine(name);
Proudly powered by WordPress | RealEstate Pack Lite by Wp Theme Space.

WhatsApp us