System namespace altında Number isimli bir internal class olduğunu bu class içinde IsWhite isimli private static metod olduğunu ve bu metodun da aşağıdaki kod ile çağrılabildiğini biliyoruz ;)



Assembly [] a = AppDomain.CurrentDomain.GetAssemblies();

Type type = a[0].GetType("System.Number"); // a[0] = mscorlib

MethodInfo mi = type.GetMethod("IsWhite", BindingFlags.NonPublic | BindingFlags.Static);

Console.WriteLine(mi.Invoke(null, new object[] { '\t'}));

 


Ben olsam bir de Char Type'ının static üye elamanlarına bakardım. Belki IsWhiteSpace isimli aynı işi yapam bir metoda rastlama ihtimalini değerlendirirdim.


 
Friday, November 06, 2009 4:00:37 AM (GTB Standard Time, UTC+02:00)
Do you want to buy some sheepskin boots, please come to www.findugg.com.Full range of UGG boots for Men and Women to buy online. Fast and free shipping to worldwide, competitive price, high quality, and efficient service.

Read more:http://www.findugg.com
Thursday, November 19, 2009 10:26:05 AM (GTB Standard Time, UTC+02:00)
welcome to my site
Thursday, November 19, 2009 10:27:41 AM (GTB Standard Time, UTC+02:00)
Tanks for your sharing
Name
E-mail
Home page

Comment (HTML not allowed)  

Enter the code shown (prevents robots):

Live Comment Preview