title: What does this syntax mean in c#?
body: <p>I may not have it correct, but I saw something like this above a WebMethod:</p>
  
  <pre><code>[return:(XmlElement("Class2"),IsNullable = false)]
  public Class2 MEthod1()
  {
  
  }
  </code></pre>
  
  <p>I saw a vb version first and I used a converter to convert it to c#.  I have never seen it before. It's in a vb 6 asmx file.</p>