[Solved] how to return the list of integer values to a method in c# [closed]
Why don’t you create a class and return a list of this class. For example public class BuildData { public int BuildQty {get;set;} public int FailQty {get;set;} public int ShiftHours {get;set;} } And then create a list List<BuildData> BuildDataList = new List<BuildData>(); You can then loop around your data like; while (ResultSet.Read()) { BuildData data … Read more