摘要:
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 阅读全文