Geeks With Blogs
Murali Sankar OOPs Here I would to add my oops knowledge and more about oops.
Basics of oops
using System;using System.Collections.Generic;... System.Text;namespace OOPS{ /// <summary> /// Example for a class which is not allowing to create a object or instance by using private constructor. /// </summary> public class PrivateConstructor { public float num = 0; /// <summary> /// If you try to create a object for this class by using default contructor it gives compile error as inaccessible due to its protection level /// because it is private constructor. /// </summary> ......

Posted On Monday, August 20, 2012 1:18 PM

Copyright © MuraliSankarM | Powered by: