Using an attribute
suggest change[StackDemo(Text = "Hello, World!")]
public class MyClass
{
[StackDemo("Hello, World!")]
static void MyMethod()
{
}
}
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents