hi, this is sample code, public class BackUpLogic<T> { public void tableBackup(List<string> columnNames, List<T> tableData) { foreach (string cName in columnNames) { } foreach (T tRow in tableData) { } } } in second foreach ,tRow is holding data of one database table row. i wan to convert...
Posted to
C#
(Forum)
by
cmakwana
on
06-19-2009, 12:00 AM
Filed under: collection, Generics, generic, collections, Generic List, Casting, generics in C#