locked
What are these attributes before classes in WCF service. RRS feed

  • Question

  • Hi

    When I created classes from xsd through command prompt then the classes have some attrubutes before the class name which I could not unserstand that why these are used??

    e.g.

    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://www.topografix.com/GPX/1/0")]
    [System.Xml.Serialization.XmlRootAttribute(Namespace="http://www.topografix.com/GPX/1/0", IsNullable=false)]
    public class ClassName

    Plz anyone help me to understand it,

    Thursday, April 14, 2011 5:44 AM

Answers