C#, ロジック
- 現在実行中のクラス名を取得
現在実行中のクラス名を取得出来ますので、デバッグ等に役立つかと思います。
try
{
}
catch( Exception ex )
{
Console.WriteLine( this.GetType().Name + ":" + ex.Message );
}
現在実行中のクラス名を取得出来ますので、デバッグ等に役立つかと思います。
try
{
}
catch( Exception ex )
{
Console.WriteLine( this.GetType().Name + ":" + ex.Message );
}