C# Tips

Today's C# Quiz

Quiz

Which of the followings does not allow you to use C# static keyword?

(Method) static void Run() {}
(Property) static int Prop {get; set;}
(Field) static int _field;
(Class) static class MyClass {}
(Constructor) static MyClass() {}
(Destructor) static ~MyClass() {}
(Event) static event EventHandler evt;

Tip

Answer