In C# I learned I can create a class destructor as follows:
public class MyClass
{
~MyClass()
{
}
}
My question is when and in what situation should I be using a destructor in C#, if ever?
Is there one common use case I should watch out for?