Marking multiple attibute for a class

You may mark multiple attributes with the class by separating attibutes with comma with in square bracket. This will allow you to associate or mark your class with multiple attribute. Following show syntax for serailizable class which is obsoleted.

[Serializable, Obsolete("This class is not in use any more")]
class ObsoleteSerializableClass
{
...
...
}

Comments

Popular posts from this blog

Sharepoint 2007 Showing outlook Inbox using outlook active X control

IIS Configuration Error Error: Cannot write configuration file due to insufficient permissions

Grails - Introduction