Hola señores,
existe alguna solución a este bug de C# ??
http://geeks.ms/blogs/elbruno/archi...con-c.aspx
Null Exemption caused by JIt optimisation around String.IsNullOrEmpty
1 static void Main(string[] args)
2 {
3 Console.WriteLine("starting");
4 test(null);
5 Console.WriteLine("finished");
6 Console.ReadLine();
7 }
8 static void test(string x)
9 {
10 for (int j = 0; j < 10; j++)
11 {
12 if (String.IsNullOrEmpty(x))
13 {
14 //TODO:
15 }
16 }
17 }
Saludos
http://www.alhambra-eidos.es/web2005/index.html
www.kiquenet.net
Leer las respuestas