ChangeType

string s="10";

int i=(int)Convert.ChangeType(s,typeof(int));

posted @ 2014-03-12 16:48  xjt360  阅读(200)  评论(0)    收藏  举报