LINQ_Sum_Average1.cs
 
LINQ_Sum_Average1.txt
		 static void Main(string[] args)
        {

            ObjectFacotry of1 = new ObjectFacotry();
            double d1 = of1.cEmp().Sum(s => s.sal);
            double d2 = of1.cEmp().Average(a => a.sal);
            Console.WriteLine("Sum "+ d1 + ":Average:"+ d2);
            
            Console.ReadLine();
        }