Wednesday, 2 October 2013 0 comments

C# Serialization

C# Serialization

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


Serialization is a process of taking an object and converting into a form so that it can be transported across the network or can be persisted in the storage location. This storage location can be physical file, database or ASP.NET Cache. The form contains the state of the object so that by this format, we can construct the same object a later point in time, which is called Deserialization.

Some good uses for serialization/deserialization include: 
  1. Storing user preferences in an object.
  2. Maintaining security information across pages and applications.
  3. Modification of XML documents without using the DOM.
  4. Passing an object from on application to another.
  5. Passing an object from one domain to another.
  6. Passing an object through a firewall as an XML string. 

    Click Here to Download Serialization Program
0 comments

C# File Handling

C# File Handling

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

File Handling is the way to save  your desire  data permanently  to file outside your program.

References : 
http://www.c-sharpcorner.com/uploadfile/puranindia/file-handling-in-C-Sharp/

Click Here to Download File Handling Program



0 comments

C# Delegates

C# Delegates

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


Delegate is a type which  holds the method(s) reference in an object. It is also referred to as a type safe function pointer.

Advantages

  • Encapsulating the method's call from caller
  • Effective use of delegate improves the performance of application
  • Used to call a method asynchronously

References : 

Click Here to Download Class Delegates Program
1 comments

C# Enum

C# Enum

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


Enums store special values. They make programs simpler. If you place constants directly where used, your C# program becomes complex. It becomes hard to change. Enums instead keep these magic constants in a distinct type.
using System;

class Program
{
    enum Importance
    {
 None,
 Trivial,
 Regular,
 Important,
 Critical
    };

    static void Main()
    {
 // 1.
 Importance value = Importance.Critical;

 // 2.
 if (value == Importance.Trivial)
 {
     Console.WriteLine("Not true");
 }
 else if (value == Importance.Critical)
 {
     Console.WriteLine("True");
 }
    }
}
Reference :


Click Here to Download My C# Enum Program
Monday, 16 September 2013 0 comments

C# Programming OOP Concept

C# Programming Lecture OOP Concept

Here is the C# Programming OOP Tutorial. It is not provided by any Faculty of APTECH. This is uploaded by me after searching on Internet.


Click Here to Download
Saturday, 20 July 2013 0 comments

XML Slide and StyleSheet


XML Slide and StyleSheet

Here is the XML with StyleSheet Slide of Miss Aisha. 


Click Here to Download
0 comments

XML Slide and Schema


XML Slide and Schema

Here is the XML Schema of Miss Aisha. 


Click Here to Download
 
;