I was about to hotly contest the assertion that it was C# (as opposed to the CLS used for VB as well), that introduced Attributes. Then I found where you got your statements from :
http://www.csharphelp.com/archives3/archive558.html ... and I see that the statement was picked out of context. P.S.: How's the heel healing ? On Oct 18, 7:51 am, "achilles.4k" <[EMAIL PROTECTED]> wrote: > C# introduced attributes, which allow you to embed information right > into the C# source code. Attributes are placed in square brackets, > e.g. [MTAThread], above an Attribute Target (e.g. class, field, > method, etcetera). C# Attributes can be used to mark fields, methods, > classes etcetera with markings that another program can interpret. > > On Oct 16, 10:04 pm, "VIKAS GARG" <[EMAIL PROTECTED]> wrote: > > > > > Please can anyone tell me what are attributes used for.I have gone through > > several tutorials > > but everywhere it is explained in terms of reflection > > that how can we retrieve information of attributes using reflection > > > [System.Serializable]public class SampleClass > > { > > // Objects of this type can be serialized. > > > } > > > Will this make class serializable here > > > after declaring attributes how do we use them- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/DotNetDevelopment You may subscribe to group Feeds using a RSS Feed Reader to stay upto date using following url <a href="http://feeds.feedburner.com/DotNetDevelopment"> http://feeds.feedburner.com/DotNetDevelopment</a> -~----------~----~----~----~------~----~------~--~---
