C# iterate on class own elements -



C# iterate on class own elements -

i have created class inherits list: want iterate elements of class in class , homecoming object if satisfies criteria (e.g. property name):

protected class mylist : list<object> { getelement(string name) { ??? loop , if status ??? homecoming element; } }

can help? thanks

you're looking foreach(var item in this).

c# class loops self

Comments

Popular posts from this blog

model view controller - MVC Rails Planning -

ruby on rails - Devise Logout Error in RoR -

html - Submenu setup with jquery and effect 'fold' -