One line of GPAL converts any input to any output: GPAL.Converter.WithInput(...).SaveTo(...). The converter works out the format and the shape of the input on its own, files, strings, grids, databases and C# objects alike, and maps it to the output with no mapping code. Here is what each output looks like for common input shapes. Pick a format to switch every example at once, or use the tabs on one example.
Every output on this page was written by GPAL 1.1.0, not typed by hand. For the full converter guide, see the Concepts pages on GPALConverter.