Skip to content

chinhdo/dotnet-functions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chinh's c# functions

A collection of utility functions I've shared on my blog.

Detecting Blank Images

Code is in ImageProcessor.cs

See my blog post Detecting Blank Images with c#

ImageProcessor ip = new ImageProcessor();
Console.WriteLine(ip.IsBlank("myImage.jpg"));

Converting a generic List of objects to a DataTable

Code is in DataUtils.cs

See my blog post Convert List/IEnumerable to DataTable/DataView

List<Person> persons = new List<Person>();
...
DataTable table = DataUtils.ToDataTable(persons);

Break a list into chunks

See Splitting a Generic List into Multiple Chunks

Code is in DataUtils.cs

About

Dotnet functions I shared on my blog

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages