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...
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...
C# Interface
Interfaces are the types in C# like classes but it contains only abstract members in it.
It contains empty definitions of methods, functions, events, and indexers. When class is implemented from the...
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...
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...
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...
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...
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...
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...
Anonymous Classes and Methods in C#
Anonymous classes and methods in C#, Anonymous, as the name suggests is undesignated or unspecified. It is an interim data type whose properties can only be read but not manipulated.
The scope of the anonymous type is mainly local to the method where it is declared. Points to be noted in the case...