Click here to Skip to main content
12,360,217 members (58,617 online)
   

C#

 
AnswerRe: how to setup that form in the tabpage when tabpage resized Pin
BillWoodruff3-Jan-13 16:42
memberBillWoodruff3-Jan-13 16:42 
QuestionReading Excel from different processes in different computer Pin
SaneLucky3-Jan-13 2:58
memberSaneLucky3-Jan-13 2:58 
AnswerRe: Reading Excel from different processes in different computer Pin
Super Lloyd3-Jan-13 17:55
memberSuper Lloyd3-Jan-13 17:55 
AnswerRe: Reading Excel from different processes in different computer Pin
April Fans3-Jan-13 19:33
memberApril Fans3-Jan-13 19:33 
AnswerRe: Reading Excel from different processes in different computer Pin
micke.andersson28-Jan-13 4:45
membermicke.andersson28-Jan-13 4:45 
QuestionKeyValuePair from reference dll Pin
Isaksson3-Jan-13 1:52
memberIsaksson3-Jan-13 1:52 
AnswerRe: KeyValuePair from reference dll Pin
Super Lloyd3-Jan-13 17:51
memberSuper Lloyd3-Jan-13 17:51 
GeneralRe: KeyValuePair from reference dll Pin
Isaksson3-Jan-13 21:14
memberIsaksson3-Jan-13 21:14 
GeneralRe: KeyValuePair from reference dll Pin
Super Lloyd3-Jan-13 22:48
memberSuper Lloyd3-Jan-13 22:48 
GeneralRe: KeyValuePair from reference dll Pin
Isaksson4-Jan-13 0:41
memberIsaksson4-Jan-13 0:41 
Questionhow to connect and disconnect to internet by Exist connection Pin
apadana_19892-Jan-13 17:44
memberapadana_19892-Jan-13 17:44 
QuestionRe: how to connect and disconnect to internet by Exist connection Pin
Richard MacCutchan2-Jan-13 22:15
mvpRichard MacCutchan2-Jan-13 22:15 
AnswerRe: how to connect and disconnect to internet by Exist connection Pin
jschell3-Jan-13 8:11
memberjschell3-Jan-13 8:11 
QuestionHow to create a colletion of properties in a C# class Pin
bnath0012-Jan-13 12:59
memberbnath0012-Jan-13 12:59 
Hello folks,

Happy New Year!!!

I have a class that has couple of properties.

Can I have a property in that class that can be a collection. Like say the MarketData. can I have a property say "FailedCurves" . It is a string property. But only thing is, this property is an ArrayList or Dictionary object that can have multiple string items in it.

How can I do that in C#? Am I thinking correct?

Thanks much
public class MarketData
    {
        #region "Private Data Members"
        private int _countAdvanceCurve;       
        private int _countAdvancesSBCAgencyCurve;
        private int _countAdvancesSBCAAACurve;
        private int _countFhlbsfTreasuryCurve;
        private int _countDNCOCurve;  
        #endregion "Private Data Members"
        #region "Public Data Members"
        public int CountAdvanceCurve
        {
            get { return _countAdvanceCurve; }
            set { _countAdvanceCurve = value; }
        }
}

AnswerRe: How to create a colletion of properties in a C# class Pin
PIEBALDconsult2-Jan-13 13:34
memberPIEBALDconsult2-Jan-13 13:34 
AnswerRe: How to create a colletion of properties in a C# class Pin
Abhinav S2-Jan-13 15:42
mvpAbhinav S2-Jan-13 15:42 
AnswerRe: How to create a colletion of properties in a C# class Pin
OriginalGriff2-Jan-13 21:16
mvpOriginalGriff2-Jan-13 21:16 
GeneralRe: How to create a colletion of properties in a C# class Pin
bnath0013-Jan-13 5:59
memberbnath0013-Jan-13 5:59 
GeneralRe: How to create a colletion of properties in a C# class Pin
OriginalGriff3-Jan-13 8:24
mvpOriginalGriff3-Jan-13 8:24 
GeneralIf I use Dictionary, I am not able to serialize it Pin
bnath0013-Jan-13 9:08
memberbnath0013-Jan-13 9:08 
GeneralRe: If I use Dictionary, I am not able to serialize it Pin
OriginalGriff3-Jan-13 9:50
mvpOriginalGriff3-Jan-13 9:50 
GeneralRe: If I use Dictionary, I am not able to serialize it Pin
bnath0013-Jan-13 10:44
memberbnath0013-Jan-13 10:44 
QuestionCA2214 Do not call overridable methods in constructors Pin
DaveyM692-Jan-13 12:35
mentorDaveyM692-Jan-13 12:35 
GeneralRe: CA2214 Do not call overridable methods in constructors Pin
PIEBALDconsult2-Jan-13 13:38
memberPIEBALDconsult2-Jan-13 13:38 
AnswerRe: CA2214 Do not call overridable methods in constructors Pin
Alan N2-Jan-13 14:28
memberAlan N2-Jan-13 14:28 
GeneralRe: CA2214 Do not call overridable methods in constructors Pin
DaveyM692-Jan-13 22:33
mentorDaveyM692-Jan-13 22:33 
GeneralRe: CA2214 Do not call overridable methods in constructors Pin
Pete O'Hanlon2-Jan-13 22:53
protectorPete O'Hanlon2-Jan-13 22:53 
GeneralRe: CA2214 Do not call overridable methods in constructors Pin
BobJanova3-Jan-13 1:36
memberBobJanova3-Jan-13 1:36 
GeneralRe: CA2214 Do not call overridable methods in constructors Pin
Pete O'Hanlon3-Jan-13 1:42
protectorPete O'Hanlon3-Jan-13 1:42 
GeneralRe: CA2214 Do not call overridable methods in constructors Pin
DaveyM693-Jan-13 3:22
mentorDaveyM693-Jan-13 3:22 
GeneralRe: CA2214 Do not call overridable methods in constructors Pin
DaveyM693-Jan-13 12:10
mentorDaveyM693-Jan-13 12:10 
GeneralRe: CA2214 Do not call overridable methods in constructors Pin
jschell3-Jan-13 8:16
memberjschell3-Jan-13 8:16 
GeneralRe: CA2214 Do not call overridable methods in constructors Pin
DaveyM693-Jan-13 11:36
mentorDaveyM693-Jan-13 11:36 
GeneralRe: CA2214 Do not call overridable methods in constructors Pin
Bernhard Hiller3-Jan-13 22:48
memberBernhard Hiller3-Jan-13 22:48 
GeneralRe: CA2214 Do not call overridable methods in constructors Pin
jschell4-Jan-13 13:08
memberjschell4-Jan-13 13:08 
GeneralRe: CA2214 Do not call overridable methods in constructors Pin
DaveyM695-Jan-13 3:00
mentorDaveyM695-Jan-13 3:00 
GeneralRe: CA2214 Do not call overridable methods in constructors Pin
jschell6-Jan-13 4:42
memberjschell6-Jan-13 4:42 
AnswerRe: CA2214 Do not call overridable methods in constructors Pin
BobJanova3-Jan-13 1:41
memberBobJanova3-Jan-13 1:41 
GeneralRe: CA2214 Do not call overridable methods in constructors Pin
DaveyM693-Jan-13 12:29
mentorDaveyM693-Jan-13 12:29 
QuestionBind listview row color to active index Pin
bornefalk2-Jan-13 9:50
memberbornefalk2-Jan-13 9:50 
QuestionUI Automation and MMC Pin
RonNYC22-Jan-13 5:57
memberRonNYC22-Jan-13 5:57 
Questionmove a newfolder form a system on other system on the network by c# Pin
a2bj1-Jan-13 23:39
membera2bj1-Jan-13 23:39 
AnswerRe: move a newfolder form a system on other system on the network by c# Pin
jibesh1-Jan-13 23:46
memberjibesh1-Jan-13 23:46 
AnswerRe: move a newfolder form a system on other system on the network by c# Pin
Simon_Whale2-Jan-13 3:02
memberSimon_Whale2-Jan-13 3:02 
Questiondata Set Not Coming In GridView Pin
aman11241-Jan-13 17:50
memberaman11241-Jan-13 17:50 
AnswerRe: data Set Not Coming In GridView Pin
jibesh1-Jan-13 21:25
memberjibesh1-Jan-13 21:25 
GeneralRe: data Set Not Coming In GridView Pin
aman11241-Jan-13 23:35
memberaman11241-Jan-13 23:35 
GeneralRe: data Set Not Coming In GridView Pin
jibesh1-Jan-13 23:36
memberjibesh1-Jan-13 23:36 
GeneralRe: data Set Not Coming In GridView Pin
GugliMugli1-Jan-13 23:40
memberGugliMugli1-Jan-13 23:40 
GeneralRe: data Set Not Coming In GridView Pin
jibesh1-Jan-13 23:42
memberjibesh1-Jan-13 23:42 

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.


Advertise | Privacy | Mobile
Web01 | 2.8.160621.1 | Last Updated 1 Jul 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid