category

home / developersection / category

UNSAFE CODE in C#
c# 12-Feb-2011
UNSAFE CODE in C#

The C# language has omitted pointers as a data type. C#instead provides references and the ability to create objects that are managedby a garbage coll

How to use the GetType method?
c# 09-Feb-2011
How to use the GetType method?

GetType is the basis for usingreflection in .NET. It returns a Type object, describing the object it was calledon. It can then be used to extract type

Polymorphism in c#
c# 31-Jan-2011
Polymorphism in c#

Polymorphism is important features of object-oriented programming (OOP’s) and we can define itas "Polymorphism means one name multiple forms". Or we u

Indexer in C#
c# 25-Jan-2011
Indexer in C#

An indexer is worked as properties. Indexers allow instancesof a class or struct to be indexed just like arrays. Indexers are also calledsmart arrays

Events in c#
c# 25-Jan-2011
Events in c#

An event is delivered to an object by means of a call to amethod in that object.  An event isdelegate type class member that is used by the object or

Regular Expressions in C#
c# 18-Jan-2011
Regular Expressions in C#

Regular expressions are used for searching and manipulating a large text. A regular expression check the following condition such asTo identify substr

StringBuilder class in c#
c# 18-Jan-2011
StringBuilder class in c#

StringBuilder class is the part of the C# string in the category of mutable string and it’s provide like a mutable strings (dynamically add the more c

Constructor in C#.Net
c# 17-Jan-2011
Constructor in C#.Net

Constructor is a special type of method that is use to initialize member variable of class, Constructor does not have any return type, Construtctor ha

Preprocessor Directives in C#
c# 14-Jan-2011
Preprocessor Directives in C#

Preprocessor directives are instruction or command. This is the simplymacro (The C preprocessor is a macro processor that is usedautomatically by the

Auto Complete Combobox in C#
c# 08-Jan-2011
Auto Complete Combobox in C#

This code is written in ComboBox KeyUp event as we have tocheck after every new character is typed.private void comboBox1_KeyUp(objectsender, KeyEvent

Identifiers in c#
c# 08-Jan-2011
Identifiers in c#

Identifiers are tokens or symbols which are uniquely identify the element. They are names of things like variables or fields. Identifiers are names gi

Exception Handling in C#
c# 01-Jan-2011
Exception Handling in C#

Handling of error occurring atRun-time is known as Exception handling. Exception handling is a way to preventapplication from crashing. C# provides t