المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : private methods using .net reflection. why??



C# Programming
11-29-2009, 04:30 AM
Hi

I used reflection many times before on public methods but never realized that private methods can be invoked too. See the link : link (http://www.codingday.com/reflection-with-private-members/)

I am still thinking why is that allowed in the first place?
Isn't that going to break the rule of "private" being "private"?

puzzled
AJ

Follow your goals, Means will follow you ---Gandhi---