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

C#

 
GeneralRe: Serializing an Interface in C# Pin
TJoe10-Oct-07 5:56
TJoe10-Oct-07 5:56 
AnswerRe: Serializing an Interface in C# Pin
Lucian.Palcu10-Oct-07 6:05
Lucian.Palcu10-Oct-07 6:05 
Questionproblem in "Splash screen demo" tutorial Pin
mandeeep9-Oct-07 3:16
mandeeep9-Oct-07 3:16 
AnswerRe: problem in "Splash screen demo" tutorial Pin
Pete O'Hanlon9-Oct-07 3:24
mvePete O'Hanlon9-Oct-07 3:24 
AnswerRe: problem in "Splash screen demo" tutorial Pin
Dave Kreskowiak9-Oct-07 5:21
mveDave Kreskowiak9-Oct-07 5:21 
GeneralRe: problem in "Splash screen demo" tutorial Pin
mandeeep10-Oct-07 3:58
mandeeep10-Oct-07 3:58 
GeneralRe: problem in "Splash screen demo" tutorial Pin
Dave Kreskowiak10-Oct-07 14:01
mveDave Kreskowiak10-Oct-07 14:01 
QuestionPossible to have a List of Generic items of different types? Pin
Paul Brower9-Oct-07 2:43
Paul Brower9-Oct-07 2:43 
Forgive the 'generic' formatting, I don't seem to be able to post 'proper' generic code here.

I have a simple class (see below). I need to have a way to have a SINGLE collection of 'GenericDataElement' objects.

Is this possible? Some of the items may be GenericDataElement<<string>>, while others may be GenericDataElement<<int>>.

    public class GenericDataElement<<T>> <br />
    {<br />
        private string name;<br />
        private T value;<br />
<br />
<br />
        public string Name<br />
        {<br />
            get { return name; }<br />
        }<br />
<br />
        public T Value<br />
        {<br />
            get { return value; }<br />
        }<br />
<br />
        public GenericDataElement(string name, T value)<br />
        {<br />
            this.name = name;<br />
            this.value = value;<br />
        }<br />
    <br />
    } 

AnswerRe: Possible to have a List of Generic items of different types? Pin
Urs Enzler9-Oct-07 4:48
Urs Enzler9-Oct-07 4:48 
QuestionKeys [modified] Pin
mihksoft9-Oct-07 2:26
mihksoft9-Oct-07 2:26 
AnswerRe: Keys Pin
Luc Pattyn9-Oct-07 3:49
sitebuilderLuc Pattyn9-Oct-07 3:49 
GeneralRe: Keys Pin
Martin#9-Oct-07 4:14
Martin#9-Oct-07 4:14 
GeneralRe: Keys Pin
Luc Pattyn9-Oct-07 4:47
sitebuilderLuc Pattyn9-Oct-07 4:47 
GeneralRe: Keys Pin
Martin#9-Oct-07 4:52
Martin#9-Oct-07 4:52 
GeneralRe: Keys Pin
Luc Pattyn9-Oct-07 5:52
sitebuilderLuc Pattyn9-Oct-07 5:52 
GeneralRe: Keys Pin
Martin#9-Oct-07 20:42
Martin#9-Oct-07 20:42 
QuestionHow to use Dunzip32.dll in my project? Pin
JSSUML9-Oct-07 2:01
JSSUML9-Oct-07 2:01 
AnswerRe: How to use Dunzip32.dll in my project? Pin
Andrei Ungureanu9-Oct-07 2:10
Andrei Ungureanu9-Oct-07 2:10 
GeneralRe: How to use Dunzip32.dll in my project? Pin
JSSUML9-Oct-07 2:41
JSSUML9-Oct-07 2:41 
AnswerRe: How to use Dunzip32.dll in my project? Pin
Colin Angus Mackay9-Oct-07 2:23
Colin Angus Mackay9-Oct-07 2:23 
GeneralRe: How to use Dunzip32.dll in my project? Pin
JSSUML9-Oct-07 2:43
JSSUML9-Oct-07 2:43 
QuestionError in Mail sending Pin
Exelioindia9-Oct-07 2:00
Exelioindia9-Oct-07 2:00 
AnswerRe: Error in Mail sending Pin
JSSUML9-Oct-07 2:04
JSSUML9-Oct-07 2:04 
QuestionExcel to DataTable Pin
vijay_chaudhary9-Oct-07 1:59
vijay_chaudhary9-Oct-07 1:59 
AnswerRe: Excel to DataTable Pin
Paul Conrad12-Oct-07 13:36
professionalPaul Conrad12-Oct-07 13:36 

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.