Skip to content
Search

CSharp:Attributes

lastmod 2022-05-22created 2022-05-222 edits

Things like [Serializable] used right before a class, method, or member variable declaration.

Example

[Serializable]
public class SampleClass
{
    // Objects of this type can be serialized.
}

See also

Favorite site

author Zer0 sitemap