C#

Part 1 – C# Tutorial – Introduction

In Part 1 – C# Tutorial – Introduction

  1. We will learn the basic structure of a c# program. The program we used in this video is shown below.// Namespace Declaration
    using System;
    class BestTutorial
    {
    public static void Main()
    {
    // Write to console
    Console.WriteLine (“Welcome to Best Tutorial!”);
    }
    }
  2. Understand the purpose of using System declaration – The namespace declaration, using System, indicates that you are using the System namespace. If  you omit the using System, declaration, then you have to use the fully qualified name of the Console class. A namespace is used to organize your code and is collection of classes, interfaces, structs, enums and delegates. We will discuss about namespaces in detail in a later session.
  3. Purpose of Main() method – Main method is the entry point into your application.
[youtube https://www.youtube.com/watch?v=SXmVym6L8dw?rel=0&showinfo=0]
KhalidAhmed
Khalid Ahmed

Expert .NET Full-Stack Developer with 10+ years building scalable business applications. Proficient in C#, ASP.NET Core, Angular, SQL, and Azure Cloud. Strong background in SDLC, APIs, microservices, and DevOps. Delivers high-performance solutions aligned with business needs. Let’s innovate together!

Khalid Ahmed

Expert .NET Full-Stack Developer with 10+ years building scalable business applications. Proficient in C#, ASP.NET Core, Angular, SQL, and Azure Cloud. Strong background in SDLC, APIs, microservices, and DevOps. Delivers high-performance solutions aligned with business needs. Let’s innovate together!

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button