C#

C#- Programming Guide | Starting Phase Learning(2)

Before starting off my 1st phase make sure you have Visual Studio or C# online editor tool ready

Phase1: Starting phase (5-7days)

  • Understanding some special terms i.e compiler, Native code etc
  • Writing your first program in visual studio.
  • Knowing about syntax rules and program structure
  • Basic used data types
  • Basic Looping
  • Basic conditional Statement

Let’s get into some theoretical knowledge :

About C#:

  • C# is pronounced “C-Sharp“.
  • It is an OOPs language(Object Oriented Programming Language): Will discuss deeply about it, if you do not know
  • It’s created by Microsoft.
  • It runs on the .NET Framework.
  • C# has roots from the C family, and the language is close to other popular languages like C++ and Java.
  • C# has much changed since its first release in 2002 commonly called as C# 1.0 , was released in September 2019.
  • Currently, the version in the market is C# 8.0

Let’s start with some important term related to C#

Compiler:


A compiler is an inbuilt program that transforms any given code from one programming language to another.In common terms, it transforms source code written in one programming language into another programming language.

As you run any program in the C#,the compiler, it takes your code as an input, does some processing, and then outputs your program in an intermediate language (IL) code which is saved in *.exe or *.dll files.

Structure

Have you ever wondered what happens to your C# code when it runs on your computer? Probably not, but it’s worth a look.
We all know the computer does understand in the form of bits 0 ,1 , But have you ever dealt with it. Obviously not, this is because we made programs to deal with such complicacy.
Earlier, when computer programming lacks the support of compilers, programmers wrote programs in machine codes (language that the processor could understand). It looked like some address

a1 00 23 4c 54
a1 00 23 4c 53

And if you watch these codes, it doesn’t give easiness to understand right.
As with the above similar writing machine codes, you tell the processor the exact address of the memory location at which to read and write data.
Every command represents a number, and that’s complicated enough.
To avoid such complexity, some great people started to invent programs within programs on a higher level than the raw code(machine code).

Coming to the C# they wrote the program which converts C# code to native code: This is the work of C# Compiler.

In c# there are two compilers:


Compile Time:C# Compiler – This converts your written code to Intermediate level code .
Run Time: Just In Time Compiler – This Converts Intermediate Level Code to Native Code


**More detailed knowledge about Compilers will be released in the(Professional phase )cycle for C# Learning.

C#- Programming Guide | Beginner Phase Learning(3)

Ankit

Leave a Comment

View Comments

Recent Posts

The Ultimate Guide to Choosing the Best Security Company in Noida

When it comes to security services in Noida, there are several reputable companies that cater to various needs. Let me…

1 year ago

Steel Bite Pro: The Revolutionary Supplement Transforming Oral Health Forever

Are you tired of dealing with tooth decay, gum problems, and expensive dental treatments? Look no further! Steel Bite Pro…

1 year ago

Captivating Elegance: Unveiling the Beauty of Oval Moissanite Rings

In the world of fine jewelry, oval moissanite rings have emerged as a captivating choice for those seeking elegance and…

1 year ago

Top 10 Digital Marketing Agency In Noida

Noida, located in the state of Uttar Pradesh, is a fast-growing hub of digital marketing agencies in India. Choosing the…

2 years ago

Two-Wheeled Thrills: The Ultimate Guide to the Latest Bikes in India 2023

As we move into 2023, the world of motorcycles in India is set to see some exciting changes. Manufacturers are…

2 years ago

Five new rules will change the game in IPL 2023

The Indian Premier League (IPL) is one of the most popular and exciting cricket tournaments in the world. With the…

2 years ago