Breaking News

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.

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 just a class-level variable, outside any …

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.   Standard operators list are given …

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 type conversion in C# can …

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 derives from System.Enum namespace and …

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. When .Net was released, it …

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 statements   if statements   …

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 with the keyword Interface.   …

Read More »