Look at the code below:
using System;
namespace IteratorTest
{
public class Test
{
public object Method()
{
ArgIterator iterator;
return iterator;
}
}
}When I try to compile it I get :
E:\Assemblies\NewGeneratorExample\Class1.cs(13): Cannot convert type 'System.ArgIterator' to 'object'
Can anyone tell me what's going on ?
Best regards, Bogdan
