C# 10.0 Introducing File Scoped Namespaces
In this article, find the C# code sample to create the text file System.IO library