C# get value of property inside inherited class -
i don't know right words, use code example.
class { public mylist<mymodel> models { { // won't work because call's models. how can make work?? return models.load(); }; } } class mylist<t> : list<t>{ public list<t> load(){ return something(); } }
this thing want do:
var context = new a(); context.models.where(...);
the best can give if looking implement linq classes, made post here adding linq classes
if you're looking use index class, there's link here
setting list items in c# without automatic setter/getter
but, unless post objective, , you're hung up, there's not can with.
Comments
Post a Comment