日期:2014-05-18  浏览次数:21112 次

看一下这种C#代码是什么意思啊?(类的定义)
如题,可能这个是C#2003的代码吧。在C#2005中就是错的,有高手能解释一下么?特别是类名前的<GetEnumerator>,和变量定义private int <>1__state。

  [CompilerGenerated]
  private sealed class <GetEnumerator>d__0 : IEnumerator<ConversationParticipant>, IEnumerator, IDisposable
  {
  private int <>1__state;
  private ConversationParticipant <>2__current;
  public ParticipantCollection <>4__this;
  public int <counter>5__1;
  //....................
  }

------解决方案--------------------
ls一群人啊.............
还泛型呢,硕大的[CompilerGenerated]没看到,编译器生成的代码而已罢了,偶服了-_____,-