Class IEnumerableExtensions
All IEnumerable extensions.
Inherited Members
Namespace: Code.Library.Extensions
Assembly: Code.Library.dll
Syntax
public static class IEnumerableExtensions
Methods
| Improve this Doc View SourceToDataTable<T>(IEnumerable<T>)
Convert IEnumerable to DataTable.
Declaration
public static DataTable ToDataTable<T>(this IEnumerable<T> data)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<T> | data | IEnumerable. |
Returns
Type | Description |
---|---|
DataTable | DataTable. |
Type Parameters
Name | Description |
---|---|
T | The element type of the IEnumerable item. |