[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[DotGNU]How do you simulate an inner class in C#?
From: |
Mohan Embar |
Subject: |
[DotGNU]How do you simulate an inner class in C#? |
Date: |
Sun, 25 May 2003 00:07:11 -0500 |
Hi People,
Sorry to bug you all with a non-DotGNU-related question, but I figured that
if anyone can answer this, you people can. I've searched the web for this,
but haven't found anything satisfactory. I'm experienced with Java, but
new to C#.
What is the best way to simulate a Java inner class in C#? Not a nested class,
but an inner class. In particular, I want to simulate an inner class CI of C
which implements interface I.
Does anyone have any instant answer to this? I suspect a combination of a
nested, adapter class of C which implements I and takes some delegates of
C in its constructor will do the trick, but wanted to see if anyone has
thought about this more.
Thanks in advance.
-- Mohan
http://www.thisiscool.com/
http://www.animalsong.org/
- [DotGNU]How do you simulate an inner class in C#?,
Mohan Embar <=
- Re: [DotGNU]How do you simulate an inner class in C#?, Gopal V, 2003/05/25
- Re: [DotGNU]How do you simulate an inner class in C#?, Mohan Embar, 2003/05/25
- Re: [DotGNU]How do you simulate an inner class in C#?, Gopal V, 2003/05/25
- Re: [DotGNU]How do you simulate an inner class in C#?, Mohan Embar, 2003/05/25
- RE: [DotGNU]How do you simulate an inner class in C#?, Thong \(Tum\) Nguyen, 2003/05/25
- Re: [DotGNU]How do you simulate an inner class in C#?, Gopal V, 2003/05/25
- Re: [DotGNU]How do you simulate an inner class in C#?, Mohan Embar, 2003/05/26
RE: [DotGNU]How do you simulate an inner class in C#?, Thong \(Tum\) Nguyen, 2003/05/25