Public class viewmodel
{
public string ID {get;set;}
public String name{get;set;}
public List<child1>{get;set;}
}
public class child1
{
public string C1ID {get;set;}
public String C1name{get;set;}
public List<child2>{get;set;}
}
public...
I need to fetch the details of the students who score more the 4 marks using IEnumerable interface in C#using System;
using System.Linq;
using System.Collections.Generic;
public class Program
{
public class Student {
public string Name { get;set; }
public decimal Avg {...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.