杂记

var val = new Int32Converter().IsValid(str) ? int.Parse(str) : default(int?);
posted @ 2018-07-12 09:54  以沫浅夏  阅读(128)  评论(0编辑  收藏  举报