asp.net mvc - what does '~' mean/do in visual studio C# -
this question has answer here:
- what tilde before function name mean in c#? 7 answers
- finalize/dispose pattern in c# 13 answers
while browsing code online i've come across following:
~disposable() { dispose(false); }
this doesn't produce compiler errors, '~' doing in particular or why there?
that called finalizer in c#. override finalize
method using syntax similar destructor.
Comments
Post a Comment