Which of the following is a correct way to declare a destructor in C#?
Anonymous (not verified)
Subject
Correct answer position
1
Answer option 1
~MyClass() {}
Answer option 2
destructor MyClass() {}
Answer option 3
void ~MyClass() {}
English