I love using .NET attributes. When I am teaching a class on web services, I start by showing what an attribute is, how you can create custom attributes, and how to use GetCustomAttributes to detect your attribute . I then cruft up a sample CsvSerializer