Pages

C#.NET


Partial Classes

It is possible to split the definition of a class or a struct, or an interface over two or more source files. Each source file contains a section of the class definition, and all parts are combined when the application is compiled. More..

Typecasting
Author: Suresh Konjerla
In this article I am going to explain the concept of type casting. Typecasting is concept of converting data from one data type to another data type. C# supports 2 types of type Casting. Those are More..



String Builder Class:

Author: Konjerla Suresh

In this Article I want to explain about the string builder class. How it useful when compared with string class

Since C# strings are immutable, an existing string cannot be modified. So, if one tries to change a string either with the concatenation operator (+) or with the InsertPad Left,Pad RightReplace, or Substring methods, an entirely new string is created—leaving the original string intact. More..

Enum Keyword:

The Enum also called ad Enumeration. This is the efficient way to declare Integral constants

The enum key word is used to declare Enumeration, a distinct type that consists of a set of named constants called the enumerator list in C#.


Usually it is best to define an enum directly within a namespace so that all classes in the namespace can access it with equal convenience. However, an enum can also be nested within a class or struct. More..


Boxing And UnBoxing:

In this Article, I am going to explain the concept of Boxing and UnBoxing. This is one of type casting technique

              C# provides us value types and reference types. Converting value type to reference is called as Boxing. Converting from reference type to value type is called UnBoxing.

With this concept we can link between value types and reference types by converting value type to reference type and vice-versa. More..

Color Dialog:

Color dialog Control is Pallet of colors. This Control is used to select any color from available colors and also used to define the custom colors.  A typical color Dialog control is looks like below. More..


Context Menu Strip:

C# context menu strips are the menus that pop up when the user clicks with the right hand mouse button over a control or area in a Windows based form. They are called context menus because the menu is usually specific to the object over which the mouse was clicked. Context menus are also sometimes referred to as Popup Menus or Shortcut menus. More..




Progress Bar:

In this article I am going to explain how to create and use Progress Bar Control

A Progress Bar control is used to represent the progress of a lengthy operation that takes time where a user has to wait for the operation to be finished. More..



Delegates



A delegate in C# is similar to a function pointer in C or C++. Delegate allows the programmer to encapsulate a reference to a method inside a delegate object. The delegate object can then be passed to code which can call the referenced method, without having to know at compile time which method will be invoked. Unlike function pointers in C or C++, delegates are object-oriented, type-safe, and secure.More..



No comments:

Post a Comment