Java Annotation C# equivalent

.net, annotations, c#, java

Solution

Attributes are to C# what annotations are to Java

Problem

Possible Duplicate: What are the similarities and differences between Java Annotations and C# Attributes? Currently we are translating an Java project into C#, but we're having problems finding out what the C# equivalent is for Java annotation. How do we write the exact same thing as this java code into C#?: ``` public @interface LatitudeAnnotation { public String author() default "Themaopdracht 7 tester"; } ```

Original source

Related problems