Sunday, March 7, 2010

"http://www.dotnetjohn.com/articles.aspx?articleid=271"

2 comments:

  1. This is a good example on Constructor calling in C#

    and here is the sample code

    using System;
    using System.Collections.Generic;
    using System.Text;


    namespace CheckAbstract
    {
    abstract class AbstractTest
    {

    public AbstractTest(int i)
    {
    Console.WriteLine("In Abstract" + i.ToString());

    }



    private AbstractTest()
    {
    Console.WriteLine("In Abstract");

    }
    }

    class myclass:AbstractTest
    {
    public myclass() : base(1)
    {
    Console.WriteLine("In MyClass");

    }

    }
    }

    ReplyDelete
  2. The good Item on Linq

    http://en.wikipedia.org/wiki/Language_Integrated_Query

    ReplyDelete