Click here to Skip to main content
15,902,114 members
Home / Discussions / C#
   

C#

 
GeneralRe: zooming a windows form Pin
Sun Rays28-Nov-07 18:57
Sun Rays28-Nov-07 18:57 
AnswerRe: zooming a windows form Pin
sreejith ss nair28-Nov-07 20:49
sreejith ss nair28-Nov-07 20:49 
Questionwindows service + crystal report Pin
Vinay Dornala28-Nov-07 17:48
Vinay Dornala28-Nov-07 17:48 
AnswerRe: windows service + crystal report Pin
KennyPatel28-Nov-07 19:11
KennyPatel28-Nov-07 19:11 
Questioninheritance issue Pin
Tauseef A28-Nov-07 17:37
Tauseef A28-Nov-07 17:37 
AnswerRe: inheritance issue Pin
Mustafa Ismail Mustafa28-Nov-07 20:52
Mustafa Ismail Mustafa28-Nov-07 20:52 
AnswerRe: inheritance issue Pin
Tauseef A28-Nov-07 21:07
Tauseef A28-Nov-07 21:07 
AnswerRe: inheritance issue Pin
sreejith ss nair28-Nov-07 21:10
sreejith ss nair28-Nov-07 21:10 
Hi,
Sorry to tell you that, i am not getting what you are trying to achive appart from some class relation.

namespace CS<br />
{<br />
    class Program<br />
    {<br />
        static void Main(string[] args)<br />
        {<br />
            B Obj = new B();<br />
            List<A> _list =Obj.GetList();<br />
        }<br />
    }<br />
    /// <summary><br />
    /// base<br />
    /// </summary><br />
    class A<br />
    {<br />
        protected int Age=0;<br />
        public A() { }<br />
        public A(int age)<br />
        {<br />
            this.Age = age;<br />
        }<br />
    }<br />
    /// <summary><br />
    /// derived<br />
    /// </summary><br />
    class B : A<br />
    {<br />
        <br />
        public List<A> GetList()<br />
        {<br />
            List<A> GList = new List<A>();<br />
            GList.Add(new A(21));<br />
            GList.Add(new A(22));<br />
            GList.Add(new A(23));<br />
            return GList;<br />
<br />
        }<br />
    }<br />
}


Presumably, the above lines of code will give an idea on the route map.

If the post/article served your purpose then, please assist me in keeping it up by donating a small amount of money to my Paypal account. Email: sreejithssnair@hotmail.com

QuestionRe: inheritance issue [modified] Pin
Tauseef A28-Nov-07 21:58
Tauseef A28-Nov-07 21:58 
AnswerRe: inheritance issue Pin
Ravi Bhavnani29-Nov-07 2:56
professionalRavi Bhavnani29-Nov-07 2:56 
AnswerRe: inheritance issue Pin
Mustafa Ismail Mustafa29-Nov-07 3:15
Mustafa Ismail Mustafa29-Nov-07 3:15 
QuestionRe: inheritance issue Pin
Tauseef A29-Nov-07 16:20
Tauseef A29-Nov-07 16:20 
QuestionTimer or Backgroud worker control.. for getting data over web... Pin
Pankaj - Joshi28-Nov-07 17:13
Pankaj - Joshi28-Nov-07 17:13 
AnswerRe: Timer or Backgroud worker control.. for getting data over web... Pin
Ravi Bhavnani28-Nov-07 17:23
professionalRavi Bhavnani28-Nov-07 17:23 
GeneralRe: Timer or Backgroud worker control.. for getting data over web... Pin
Pankaj - Joshi28-Nov-07 18:51
Pankaj - Joshi28-Nov-07 18:51 
GeneralRe: Timer or Backgroud worker control.. for getting data over web... Pin
Ravi Bhavnani28-Nov-07 19:05
professionalRavi Bhavnani28-Nov-07 19:05 
GeneralRe: Timer or Backgroud worker control.. for getting data over web... Pin
Pankaj - Joshi28-Nov-07 21:25
Pankaj - Joshi28-Nov-07 21:25 
Questionuse soapextension from a mobile app Pin
piratenwichtl28-Nov-07 16:31
piratenwichtl28-Nov-07 16:31 
AnswerRe: use soapextension from a mobile app [modified] Pin
piratenwichtl29-Nov-07 12:18
piratenwichtl29-Nov-07 12:18 
QuestionCreating Child Nodes with C# Pin
mrk3nn3dy28-Nov-07 16:00
mrk3nn3dy28-Nov-07 16:00 
AnswerRe: Creating Child Nodes with C# Pin
Ravi Bhavnani28-Nov-07 16:24
professionalRavi Bhavnani28-Nov-07 16:24 
QuestionPassing variables in a constructor [modified] Pin
MAW3028-Nov-07 15:54
MAW3028-Nov-07 15:54 
AnswerRe: Passing variables in a constructor Pin
Paul Conrad28-Nov-07 16:02
professionalPaul Conrad28-Nov-07 16:02 
AnswerRe: Passing variables in a constructor Pin
Judah Gabriel Himango28-Nov-07 16:06
sponsorJudah Gabriel Himango28-Nov-07 16:06 
AnswerRe: Passing variables in a constructor Pin
Maharishi Bhatia28-Nov-07 21:28
Maharishi Bhatia28-Nov-07 21:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.