Introduction of C#

C# is an object oriented programming language which is class based on componen oriented .

It was developed by Microsoft in 2000.

It has become extremely popular among developers that are creating software for various types of platforms.

C# provides us the necessary tools to create software for Windows, iOS, Android or more!

Since it comes from the family of C and C++ languages, it has many advantages of those. 

C# cab be used to various types of libraries, program, and extension.

It has many SDKs (Software Development Kits ) for developers to satisfy there needs and achieve there goals faster!

Also, C# has simple integrations for various APIs (Application Programming Interfaces) such as payment gateways!

Variables and Data Types 

The most basic explanation of a variable is keeping things in there respective storage.

For example, let's consider the jacket, book, and paper documents from the above image.

You are in your room, where do you put your jacket?

That's right, in your wardrobe!

Where do you put your books?

Yes, on the bookshelf!

And of course, you paper documents go inside table drawers.

There isn't much different between storing data in applications versus storing thing in the real world.

The most important thing is to keep everything in its designated location.

In programming, the container that stores the data is called a variable.

Now you will be wondering how shall we define what type of data should be stored in which container ? Right?

We use data types to define the type of data to be stored in a particular variable.

To store number using C#, we use data types such as integer and Float. To store and words or sentences using C# we use the "String" data type.

Let's took some examples of data :

10 is integer number 

10.15 is a decimal number 

'c' is a single character 

"Friend" is a word made of six character i.e. a string 




Comments

Popular posts from this blog

Java

COMPUTER GRAPHICS IN BCA 3 YEAR