摘要: Simple Use of TupleYou can easily return more than one value from method without usingoutorrefparameters. public Tuple<int, int> SplitPoints(string point) { string[] pointList = point.Split(','); int x = Convert.ToInt32(pointList[0]); int y = Convert.ToInt32(pointList[1]); return Tuple 阅读全文
posted @ 2013-05-10 23:31 技术商业梦 阅读(266) 评论(0) 推荐(0) 编辑