Hi
I have created an interface
public interface Ipdf
{
String pdf {get ; set; }
}
and I hope to store a list of names of reports in there
The names are added in an method in the main form
IList<Ipdf> pdfs = new List<Ipdf>();
foreach (FileInfo fi in rgFiles)
{
//code to add the fi.FullName to the IList
}
and i dont know what the "//code to add the fi.FullName to the IList" should be
thanks in advance
I have created an interface
public interface Ipdf
{
String pdf {get ; set; }
}
and I hope to store a list of names of reports in there
The names are added in an method in the main form
IList<Ipdf> pdfs = new List<Ipdf>();
foreach (FileInfo fi in rgFiles)
{
//code to add the fi.FullName to the IList
}
and i dont know what the "//code to add the fi.FullName to the IList" should be
thanks in advance