14
可能性の重複:
What are the similarities and differences between Java Annotations and C# Attributes?アノテーションのC#
現在、我々は、C#へのJavaプロジェクトを翻訳しているが、我々はC#の同等は、Java何のためにあるのか見つける問題を抱えています注釈。どのように我々は、C#には、このJavaコードとまったく同じことを書くのですか?:
public @interface LatitudeAnnotation {
public String author() default "Themaopdracht 7 tester";
}
にあり、私は次の参照に役立ちます。httpsが見つかりました: //docs.microsoft.com/en-us/dotnet/csharp/programming-guide/concepts/attributes/。 –