...チルダをメソッド呼び出しの前に置いていますか?私は例を挙げて取り組んでいたと私はこれを見た
#if DEBUG
/// <summary>
/// Useful for ensuring that ViewModel objects are properly garbage collected.
/// </summary>
~ViewModelBase()
{
string msg = string.Format("{0} ({1}) ({2}) Finalized", this.GetType().Name, this.DisplayName, this.GetHashCode());
System.Diagnostics.Debug.WriteLine(msg);
}
#endif
は、私はちょうどそれが何を意味するのか不思議でした...それをGoogleに試みたが、いずれかの結果を得ることができませんでした。誰でも知っていますか?私はこれを掲示した後
おかげで
[C#でチルダ(〜)の意味は何ですか?](http://stackoverflow.com/questions/188688/what-does-the-tilde-mean-in-c) –
あなたの質問に答えます。 – SLaks