It looks to me like your set and get accesors are dealing with the list
itself, not an item in the list. The add method of List<T> does not use the
setter.
-- Peter
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short Urls & more: http://ittyurl.net
> vs2005 c#
>
[quoted text clipped - 34 lines]
> SubmitterEDIContactInfos = new List<PER_EDIContact>();
> }
raulavi - 28 Mar 2008 21:39 GMT
thanks Peter, I beleive so
, How can I modify property to be checked ea time I add a row to collection ?
> > SubmitterEDIContactInfos.Add(new PER_EDIContact(file[c++]));
is adding to a list not a collection , why?
SubmitterEDIContactInfos i though was the collection
could you please, cexplain
> It looks to me like your set and get accesors are dealing with the list
> itself, not an item in the list. The add method of List<T> does not use the
[quoted text clipped - 42 lines]
> > SubmitterEDIContactInfos = new List<PER_EDIContact>();
> > }
raulavi - 28 Mar 2008 22:32 GMT
Peter found an answer...
o.SubmitterEDIContactInfos[1].variable02 = "thiswaschanged";
your response gave me a tip...
I need to reference an item not the list as in
SubmitterEDIContactInfos.Add(new PER_EDIContact(file[c++]));
> It looks to me like your set and get accesors are dealing with the list
> itself, not an item in the list. The add method of List<T> does not use the
[quoted text clipped - 42 lines]
> > SubmitterEDIContactInfos = new List<PER_EDIContact>();
> > }