Home / C#

C#

C# (pronounced Csharp) is a new programming language introduced by Microsoft with the Microsoft .NET framework. It was first created in the late 1990’s as part of Microsoft’s.NET strategy. It is a new language free of backward compatibility and a bunch of new, exciting and promising features.
It is an Object Oriented Programming language, which at its core, and has similarities with Java, C++ and VB. The main brains behind C# were Anders Hejlsberg and Scott Wiltamuth. However, many other personalities like Rob Howard, Scott Guthrie were also involved behind C# and the .NET Framework.

What is C#?

What is C#? C# (pronounced Csharp) is a new programming language introduced by Microsoft with the Microsoft.NET framework. C# was first created in the late 1990’s as part of Microsoft’s.NET …

Read More »

C# & other OOP language

C# versus C++   C++ is the nearest relative of C#, although it has some elements derived from Visual Basic and Java. In an important change from C++, C# code …

Read More »

About C#

Lots of people believed that there was no need to develop a new programming language. Java, C++, Perl,VB, and other existing languages were believed to offer all the functionality Which …

Read More »

Primitive Data Types in C#

The built-in data type in C# is called primitive data types. Here we are giving you the range of most commonly used primitive data types in C#.   Data Type …

Read More »

The Value Type In C#

Creating Fields and Using Initializers   The first type of class member we’ll take a look at is the field, also called a data member.Outside any method, A field is …

Read More »

Operators & Variables In C#

C# has a number of standard operators, taken from C, C++ and Java. Most of these should be quite familiar to programmers; the less common ones are enclosed elsewhere.   …

Read More »

Type Conversions in c#

Type conversion is a process of converting one type into another. Using C# type conversion techniques, not only you can convert data types, you can convert object types also. The …

Read More »

Enums In C#

“The great power comes with a great responsibility.”   Enums are basically a set of named constants. They are declared in C# using the keyword enum. Every enum type automatically …

Read More »

Type-Safety in C#

At the first, what is type safe code and why is it relevant to secure programming? Type safety is certainly one of the most confusing aspects for somebody learning .Net. …

Read More »

Scope of the Variable in C#

The scope of a variable is simply the region of the program in which that variable is usable. Scope applies to methods as well as variables. The scope of an …

Read More »

Control Statement in C#

C# uses two types of control statements: ? Conditional Statements ? Looping   Conditional Statements   In C#, there are two types of conditional statements: ? if statements ? switch …

Read More »

Interfaces in C#

C# language does not support multiple inheritance. To solve this problem, Microsoft introduced interfaces into C#. They are regarded as an alternative to multiple inheritance. All interfaces should be declared …

Read More »