Monday, 11 November 2013 0 comments

Regular Expression in C#

Regular Expression in C#

Here is the C# Regular Expression Class. Regular Expression is used for set the Restriction in your Text. If you want that someone can insert only number in TextBox or Alphabets then you have to use Regular Expression for this..

Namspace for Regular Expression is System.Text.RegularExpression
Class is Regex

Regular Expression Short Cut and Cheat Sheat :
http://www.cheatography.com/davechild/cheat-sheets/regular-expressions/


Click Here to Download Program
Monday, 21 October 2013 0 comments

Processes in C#

Processes in C#

Here is the C# Process Class. You can get Running Process info and More.


Click Here to Download Program
0 comments

C# File Info Class

C# File Info and Right Class

Here is the C# File Info Program. You can get File info and Rights through this.


Click Here to Download Program
0 comments

C# XML Serialization

C# XML Serialization

Here is the C# XML Class Program. If you have any query contact me.


Click Here to Downlaod
Thursday, 10 October 2013 0 comments

C# Dictionary Class

C# Dictionary Class

Here is the C# Dictionary Class Definition and Example.

Dictionary Class

The Dictionary class gives us the opportunity to map some values to specific keys; in real life scenarios we need this mechanism to represent some values whenever we call the key associated with them according to an event.


Click Here to Downlaod Program
0 comments

C# Operator Overloading

C# Operator Overloading

Here is the C# Operator Overloading Defination and Example.

Operator Overloading Details


In an object oriented programming language like C#, operator overloading provides a much more natural way of implementing the operations on custom types. Suppose that we have a class created for Complex number and we want to perform all the arithmetic operations on this type. One way to do this is by having functions like Add, Subtract inside the class and have the functionality. Another way is to actually have the overloaded version of operators to act on this type.
Operator overloading provides a much natural abstraction for the types. When we think about possible operation on some data type we can think of binary operators, unary operators, relational operators and perhaps some conversion operations to and from the basic types. In C# achieving all this is possible using operator overloading.

Using the code

Before looking at the implementation details, lets see what are the conventions that need to be followed if we want to overload an operator.
  • The operator function should be a member function of the containing type.
  • The operator function must be static.
  • The operator function must have the keyword operator followed by the operator to be overridden.
  • The arguments of the function are the operands.
  • The return value of the function is the result of the operation.
Click Here to Download Program
Wednesday, 2 October 2013 0 comments

C# Data Compression

C# Data Compression

Here is the C# Data Compression Defination and Example. It is not provided by any Faculty of APTECH. This is uploaded by me after searching on Internet.

Data Compression is the File Compression Method in C# which is used to Compressed and Encrypt File.


Click Here to Download Data Compression Program

Note : If you have Any Query Just Ping Me :)
 
;