Introduction To C# .Net With Data Types And Operators.

Introduction To C# .NET
\\ If you have any query or questions on my post then please comment below //


What Is C# .NET
1. It is one of the Microsoft Programming Language. 
2. It is most powerful language among all programming language in .NET because C# .NET will contain all the features of C++,JAVA,VB and additional features.
          3. It is an Object Oriented Programming Language.

       4. C# with framework any  application simplifies.

       5. It is designed for building a variety of applications that run on the .Net framework.
 
.NET framework advantages in C# view
1.   Best Graphical user interface features.
2.   Any database will support.
3.   C# does not directly interact with a database, it uses ADO.NET.
4.   It prepares web applications.
5.   It has high scalability.
6.   It is having more speed. 
7.   It is reusable.  



Types Of Applications Used In C#
1. Windows Application 
2. Web Application
3. Class Library(using this template we can create our own template) 
4. Windows Control Library (using this template we can create our own user control) 
5. Console Application(it is a command line application run on DOS based Operating system)  
  
Programming Structure



Namespace

Class

Members

Block

Statement

Syntax -
 Namespace xyz

{
Class sample
{
void main()
{
//statments
}
}
}

For Ex 
     Open Notepad and write the code
Class sample

{
Static void main()
{
System.Console.Write(“Hello World”);  //Namespace
}
}
Then save the application in any drive in any folder with any filename.cs


For execution
1. open Microsoft Visual Studio 2010.

2. GOTO Visual Studio Tools. 
3. GOTO Visual Studio Command Prompt.

4. If the drive is (d:)
5. Then write d:\>cd (folder name).
6. d:\foldername>csc (filename.cs).

7. d:\foldername>filename  (ENTER)
   
Data Types :



Sbyte                   byte
short                   ushort
int                       uint
long                    ulong
char                    float
double                decimal
bool                    string
object


Operators : 



1. Arithmetic Operator.

2. Relational Operator.

3. Logical Operator.

4. Increment And Decrement.

5. Short Circuit Logical Operators.

6. Assignment Operator.

7. Compound Assignment Operator.

8. Bitwise Operator.



 Enter Your Email Id To Get Our Programming, Web Development, Video Tutorial, Job Updates In Mail :

Labels: