Program to expose a generic method from interface in c#

Rajnilari2015
Posted by Rajnilari2015 under C# category on | Points: 40 | Views : 1244
using System.Collections.Generic;

interface IExcelCSVOperations
{
IEnumerable<T> ReadFile<T>();
}


The above program exposes a generic method ReadFile of generic collection IEnumerable from the interface IExcelCSVOperations

Comments or Responses

Login to post response