Click here to Skip to main content
15,897,518 members
Home / Discussions / C#
   

C#

 
GeneralRe: Creating a WPF app with notpad and command-line compiler. Pin
CataclysmicQuantum23-Jan-08 7:37
CataclysmicQuantum23-Jan-08 7:37 
GeneralRe: Creating a WPF app with notpad and command-line compiler. Pin
NormDroid25-Jan-08 10:05
professionalNormDroid25-Jan-08 10:05 
GeneralName of DLL [SOLVED] Pin
#realJSOP23-Jan-08 5:24
professional#realJSOP23-Jan-08 5:24 
GeneralRe: Name of DLL [SOLVED] Pin
Justin Perez23-Jan-08 5:37
Justin Perez23-Jan-08 5:37 
QuestionGenerics [modified] Pin
ArneKruger23-Jan-08 4:06
ArneKruger23-Jan-08 4:06 
GeneralRe: Generics Pin
Alan Balkany23-Jan-08 4:18
Alan Balkany23-Jan-08 4:18 
GeneralRe: Generics [modified] Pin
ArneKruger23-Jan-08 4:31
ArneKruger23-Jan-08 4:31 
GeneralRe: Generics Pin
Alan Balkany23-Jan-08 4:40
Alan Balkany23-Jan-08 4:40 
The syntax you gave for GenericFieldBase looked non-generic because there were no angle brackets <> in the declaration. A specific example would clarify your situation.

If C# won't let you derive a class from a generic, you can define a non-generic base class that has a generic member. This may give you the flexibility you need because the derived classes can then use the generic member in different ways.

As a last resort, you can use type "object", which can hold anything. (Sort of like a void pointer in C++).
GeneralRe: Generics Pin
Pete O'Hanlon23-Jan-08 4:35
mvePete O'Hanlon23-Jan-08 4:35 
GeneralRe: Generics Pin
led mike23-Jan-08 4:37
led mike23-Jan-08 4:37 
GeneralRe: Generics Pin
Roger Alsing23-Jan-08 5:06
Roger Alsing23-Jan-08 5:06 
GeneralRe: Generics Pin
ArneKruger23-Jan-08 5:50
ArneKruger23-Jan-08 5:50 
GeneralRe: Generics Pin
led mike23-Jan-08 6:50
led mike23-Jan-08 6:50 
Question[Message Deleted] Pin
Tahir Abbasi23-Jan-08 4:05
Tahir Abbasi23-Jan-08 4:05 
GeneralRe: how to create a Comma Seprated File (.CSV) in C# Pin
Justin Perez23-Jan-08 4:17
Justin Perez23-Jan-08 4:17 
Generalthank u John Pin
Tahir Abbasi23-Jan-08 7:46
Tahir Abbasi23-Jan-08 7:46 
GeneralRe: thank u John Pin
Pete O'Hanlon23-Jan-08 11:21
mvePete O'Hanlon23-Jan-08 11:21 
GeneralRe: how to create a Comma Seprated File (.CSV) in C# Pin
Thomas Stockwell23-Jan-08 8:07
professionalThomas Stockwell23-Jan-08 8:07 
GeneralRe: how to create a Comma Seprated File (.CSV) in C# Pin
Tahir Abbasi23-Jan-08 8:28
Tahir Abbasi23-Jan-08 8:28 
GeneralCan't bind listbox to IList Pin
Alan Balkany23-Jan-08 3:49
Alan Balkany23-Jan-08 3:49 
GeneralRe: Can't bind listbox to IList Pin
Judah Gabriel Himango23-Jan-08 3:59
sponsorJudah Gabriel Himango23-Jan-08 3:59 
GeneralRe: Can't bind listbox to IList Pin
Alan Balkany23-Jan-08 4:13
Alan Balkany23-Jan-08 4:13 
GeneralRe: Can't bind listbox to IList Pin
Roger Alsing23-Jan-08 4:57
Roger Alsing23-Jan-08 4:57 
GeneralRe: Can't bind listbox to IList Pin
Alan Balkany23-Jan-08 5:01
Alan Balkany23-Jan-08 5:01 
GeneralRe: Can't bind listbox to IList Pin
Alan Balkany23-Jan-08 5:03
Alan Balkany23-Jan-08 5:03 

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.