C#code for dividing image into blocks

I need help for writing code in C# for dividing image into n blocks.

Whould you please say input format…??
Eg:-
[Image], [Required number of column and row]
or
[image], [rectagle 1], [rectange 2], etc …

or simething like that … :slight_smile:

//