Development Environment Visual Studio 2019
Add Nuget Packages windowsAPICodePack-Shell and windowsAPICodePack-Core
For this code to work
ShellFile shellFile = ShellFile.FromFilePath(listFiles[i]);
Bitmap shellThumb = shellFile.Thumbnail.ExtraLargeBitmap;
ShellFile shellFile = ShellFile.FromFilePath(listFiles[j]);
Bitmap shellThumb = shellFile.Thumbnail.ExtraLargeBitmap;