You may or may not find this of interest

https://www.ict.social/csharp/files/...-in-csharp-net