One of the top 5 programming languages on GitHub, C# is a cutting-edge, open-source, cross-platform object-oriented programming language.
A general-purpose, object-oriented programming language is called C# (pronounced “C sharp”). The most widely used language for creating desktop and web apps is this one.
Because it is built on C, C# is more similar to C++ and C. It is comparable to Java in syntax.
You may learn C# programming one step at a time with the help of our tutorial.
Steps:
1. .Net Core SDK Installation: 6.0
https://dotnet.microsoft.com/en-us/download
2. VS Code Installation
https://code.visualstudio.com/
3. C# extension for VS Code: C# for Visual Studio Code (powered by OmniSharp).
https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csharp
4. Create a Console Application using Terminal
> dotnet new console –framework net6.0
> dotnet build
> dotnet run
5. Basic Terminal Command
6. Debug program
7. Why C#?
OOP, Cross-platform, Open source
8. Code arrange command: Mac OS: Shift+Option+F
9. The End
Intro:
Microsoft created a straightforward, contemporary, all-purpose, object-oriented programming language called C# as part of its.NET strategy under the direction of Anders Hejlsberg.
This lesson will walk you through, Getting started with C# Language | Hello World | Overview | Environment | Program Structure | Basic Syntax
Why C#:
- Most popular
- Easy to learn
- Huge community support
- OOP
- Cross-platform
- Open-source
C# is used for:
- Mobile applications
- Desktop applications
- Web applications
- Web services
- Web sites
- Games
- VR
- Database applications
- And much, much more!