exception handling in c#

Exception Handling in c#-: Exception handling allows programmers to deal with unexpected situations that may occur in programs.As an example, consider opening a file using the StreamReader class in the System.IO namespace. To...

Continue reading

Exceptions in C#

Exception -: Exception handling helps applications trap and respond in a predictable and robust manner to exceptional events. This enhances the correctness of an application, which naturally improves customer...

Continue reading

delegates in c# programming

Delegates in c# programming-: A delegate is a type used to reference a method. This allows methods to be assigned to variables and passed as arguments. The delegate’s declaration specifies the method signature to which objects...

Continue reading

enum in c#

Enum in c# programming language-: An enumeration is a special kind of value type consisting of a list of named constants. To create one,we can use the enum keyword followed by a name and a code block containing a comma-separated...

Continue reading

interface in c#

Interface in C# Language-: An interface defines a contract. A class or struct that implements an interface must adhere to its contract. An interface may inherit from multiple base interfaces, and a class or struct may implement...

Continue reading

arrays in c#

Arrays in c# programming language-:  An array is a data structure used for storing a collection of values that all have the same data type.An array is a data structure that contains a number of variables that are accessed...

Continue reading

control statements in c#

Control Statements in C#-:  C# provides a variety of statements. Most of these statements will be familiar to developers who have programmed in C and C++. C# provide following statement-: 1     labeled-statement 2   ...

Continue reading

classes in c# programming

Class in C# Language-: A class is a data structure that may contain data members (constants and fields), function members (methods, properties, events, indexers, operators, instance constructors, destructors, and static...

Continue reading

operators in c#

Operators in c# programming -:The operators of an expression indicate which operations to apply to the operands. Examples of operators include +, -, *, /, and new. Examples of operands include literals, fields, local variables...

Continue reading

variable in c# language

Variable in C# Language-: Like any other programming language c#  also support many variable.Variables represent storage locations. Every variable has a type that determines what values can be stored in the variable. C# is a...

Continue reading