C# Tutorial

C# is general purpose, a modern programming language developed by Microsoft. Anders Hejlsberg is the chief architect in C# development. It is one of the premier languages for. Net development. C# is approved by ISO (International Standards Organization) and ECMA (European Computer Manufacturers Association). It is object oriented and very simple language. It supports all-OOPs concepts […]

Learn more...

C# programming language

As we know .Net framework supports multiple programming languages, but the C# (pronounced C-Sharp) is mostly used language in .Net technology. It is general purpose, modern, object-oriented programming language developed by Microsoft. C# is primarily derived from the C, C++, and Java programming languages, so it is easy to learn. You can create applications like […]

Learn more...

C# Language Fundamentals

There are following some fundamental concepts programmer should know before start programming in C#. Let’s read c# language fundamentals: Variables:  While executing a program, data is temporarily stored in memory. Variable is the name given to the memory location where data is stored. In C# variables are declared as below <TYPE> <variable_name>; In above syntax, a type is the […]

Learn more...

C# Case Control Structure

While writing code for software it the common task to check some conditions and take actions according to that conditions. In C# we can achieve this with the help of following decision-making statements. If  statement: If-else statement If-else-if ladder  statement Switch case If statement: An ‘if’ statement is the most common form of decision-making statements. […]

Learn more...

C# Loop Control Structure

Loop Control Structure Many times there is a requirement to execute some statements repeatedly many times. Programming languages provide looping structures to accomplish this kind of task. C# provides following looping structures & case control structure. For Loop While Loop Do While Loop For Loop: The most common used looping structure is ‘for’. In for […]

Learn more...

C# Type Conversion

While writing code programmers work with various types of data types like string, integer, floats etc. Sometimes there is the requirement to assign the value of one data type to another type. This process of converting the value of one data type to another is known as ‘type casting’ or ‘type conversion.’ In C# provides […]

Learn more...

C# Data Types & Variables

C# is strongly typed language; therefore every variable, constant, literal must have a declared type. C# provides a wide range of built-in data types, which makes C# more suitable for various types of application. All operations in a program are checked for type compatibility at compile time and illegal operations will not be compiled. This […]

Learn more...

C# Boxing and Unboxing

All reference types and value types are derived from ‘System.Object’ class. So the reference variable of an object class can refer to any type. The process converting value type into object type or interface type which is implemented by value type is known as boxing and the reverse process of converting object type into value […]

Learn more...

C# OOPS

Object-oriented programming (OOP) is the approach used in the development of software. Before OOP there is a procedural oriented programming approach (POP). In POP programmers write functions to accomplish each task and the data is shared among these functions. The limitation of POP is that it is hard to maintain the complexity of big projects […]

Learn more...

C# String Manipulation 

The string is the most important data type ni C#. String with reference type and the word string is an alias for the class ‘System.String’. There is no difference between keywords ‘String’ and ‘string’, both creates the object of ‘System.String’ class. The string represents the series of zero or more Unicode characters. The string is […]

Learn more...