nested

  1. U

    Question How to populate a nested list of objects?

    I have a class as shown below: public class Par { public string id { get { return id; } set { id = value; } } public Int32 num { get { return num; } set { num = value; } } } Now I also created a class named "Msg" which has a nested list of Par objects public class Msg { private...
  2. M

    Referencing a property from an object range in a for each within a nested for each

    I've created a list of instances of an object, to give sample data. I've then created a list of IGrouping, containing the objects. Within the foreach, I'm then trying to give an ordering number for the objects within their respective groups (this for each only assigns a value where the value...
  3. spartan.monkey

    Nested Loop Help

    im a beginner to c#. can any one help how this loop is working. please and thankyou. using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication9 { class Program { static void Main(string[] args) {...
Back
Top Bottom