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

php - Android app custom user registration and login with cookie using facebook sdk -

c# - Create a Notification Object (Email or Page) At Run Time -- Dependency Injection or Factory -

Set Up Of Common Name Of SSL Certificate To Protect Plesk Panel -