Re: Creation Generic class
- From: "Oliver Sturm" <oliver@xxxxxxxxxxxx>
- Date: Wed, 31 Aug 2005 01:47:31 -0700
Frank VDL wrote:
public abstract class IndexBase<T> {
private Dictionary<T, MyBaseType> _dict;
public IndexBase() { _dict = new Dictionary<T, MyBaseType>(); //this one is going wrong } }
The code you give compiles just fine for me. I modified MyBaseType to "int" for a test, but apart from that I just copied it from your post. Are you sure that's the exact code you used?
Oliver Sturm -- omnibus ex nihilo ducendis sufficit unum Spaces inserted to prevent google email destruction: MSN oliver @ sturmnet.org Jabber sturm @ amessage.de ICQ 27142619 http://www.sturmnet.org/blog .
- References:
- Creation Generic class
- From: Frank VDL
- Creation Generic class
- Prev by Date: How to create form with #32770 classname in C# ?
- Next by Date: Re: Regular Expressions
- Previous by thread: Creation Generic class
- Next by thread: How to create form with #32770 classname in C# ?
- Index(es):
Relevant Pages
|