Specifically, the stuff in the square brackets at the beginning of the class
decl.. How does it apply to the class?

thx.

/// <summary>
/// Data Access Object for Message
/// </summary>
[ Transaction( TransactionOption.Required ) ]
sealed public class DAOMessage : DAOBase
{

Re: What does this mean? by Jon

Jon
Thu Feb 05 08:06:34 CST 2004

Twitch <inb4dalockNOSPAM@hotmail.com> wrote:
> Specifically, the stuff in the square brackets at the beginning of the class
> decl.. How does it apply to the class?

It's an attribute. I suggest you look up attributes in the C#
tutorial/book you're using, and if you have any further questions about
them, ask in the C# group.

--
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too