&tag(CSharp/Tips);
*目次 [#xc7f12ea]
#contents
*参考情報 [#s7cedc95]

*アノテーション [#g7be19b0]
**ValidationAttributeを使う [#dabf4b33]
-参照設定でSystem.ComponentModel.DataAnnotationsを参照する。
**デバッグ [#t65c6a8e]
***Assertを使う [#kab15c11]
Debug.Assert(condition, message)で使用可能。
#pre{{
    Debug.Assert(x > 10, "xが10より大きくありません");
}}

トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS