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 -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -