Skip to main content

Introduction Of C# | WaoFamHub



Introduction Of C#.

C# Programming Language


There are a lot of object-oriented programming (OOP) languages ​​on the market, and C # is one of the purest forms of the OOP language. C# is a Dot Net Framework's programming language. This language was designed for both professionals and newbie programmers to start learning and implementing it.

What Is C# ?

C# comes under internationally accepted general-purpose, high level, an object-oriented programming language developed by the Microsoft Corporation and approved by the International Standards Organization (ISO) and the European Computer Manufacturers Association (ECMA) to be considered as a standard and professionally used programming language. Anders Hejlsberg was involved as the lead developer who developed it when the Dot Net Framework was created.

C# was designed for complex computational logic and was mainly designed for Command Line Interface (CLI) that deals with executable code in a runtime environment. The term C# is pronounced as C-Sharp, which runs on Dot Net Framework. The latest version of C# is C# 7.0.

Types Of C# Application.

C# helps developers build diverse types of applications, which is why the popularity of this programming language went high. Different types of applications that can be developed using C# are:


  • Web applications.
  • Window applications.
  • Other Desktop software.
  • Distributed applications.
  • Database programs.
  • Hardware-level programming.
  • Virus and Malware.
  • GUI based applications.


Features Of C#.

There are various features of C#, which makes the programming language different and widely used. These are:


  • Learning C# is very easy.
  • It is a general-purpose, easy integrating programming language.
  • It is a highly structured programming language.
  • Object-oriented concepts can be implemented efficiently using this language.
  • It is platform-independent, which means the programs written in C# can be executed in a variety of computing environments.
  • Efficient programming can be done using this language.
  • It is a high-level programming language.
  • GUI applications can be developed very easily using this language.


Programming Features Of C#.

Other reasons why programming in C# language is so reliable and popular are:


  • It deals with automatic garbage collections.
  • It has a lot of standard libraries.
  • Some properties and events can make programming smarter.
  • Delegates and concepts of event management can also help in making the language strong.
  • It supports Multi-threading.
  • It has the concepts of Indexers.
  • Generic concepts are easy to use in C#.
  • It provides LINQ and Lambda expressions.



Comments

Popular posts from this blog

Hello World Example In C Programming | WaoFamHub

Hello World Example A C program basically consists of the following parts − Preprocessor Commands Functions Variables Statements & Expressions Comments Let us look at a simple code that would print the words "Hello World" − INPUT #include <stdio.h> void main {    /* my first program in C */    printf("Hello, World! \n");    getch; } Let us take a look at the various parts of the above program − The first line of the program #include <stdio.h> is a preprocessor command, which tells a C compiler to include stdio.h file before going to actual compilation. The next line int main() is the main function where the program execution begins. The next line /*...*/ will be ignored by the compiler and it has been put to add additional comments in the program. So such lines are called comments in the program. The next line printf(...) is another function available in C which causes the message "Hello, World!" to be displayed on the screen. The next line...

Bresenham’s Line Drawing Algorithm Program In C | WaoFamHub

Bresenham’s Line Drawing Algorithm Program In C INPUT #include<stdio.h> #include<graphics.h> void drawline(int x0, int y0, int x1, int y1) { int dx, dy, p, x, y; dx=x1-x0; dy=y1-y0; x=x0; y=y0; p=2*dy-dx; while(x<x1) { if(p>=0) { putpixel(x,y,7); y=y+1; p=p+2*dy-2*dx; } else { putpixel(x,y,7); p=p+2*dy; } x=x+1; } } int main() { int gdriver=DETECT, gmode, error, x0, y0, x1, y1; initgraph(&gdriver, &gmode, "c:\\turboc3\\bgi"); printf("Enter co-ordinates of first point: "); scanf("%d%d", &x0, &y0); printf("Enter co-ordinates of second point: "); scanf("%d%d", &x1, &y1); drawline(x0, y0, x1, y1); getch(); } OUTPUT