using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
namespace ConsoleApplication4
{
class Program
{
static void Main (string[] args)
{
var test1 = Test1(1, 2);
var test2 = Test2(3, 4);
}
static IEnumerable Test1(int v1, int v2)
{
yield break;
}
static IEnumerable Test2 (int v1, int v2)
{
return new String[] { };
}
}
}
"test1" sembra essere un IEnumerable con v1 e v2 (params) come campi e "Test1" NON viene chiamato.intervallo di rendimento; - comportamento pazzo
"Test2" lavora "disegnato" :)
cosa sta succedendo?