3 ms·
so module imports looks to be different from normal imports and actually helps reduce the number of imports the developer needs to write. FWIW Scala (which runs
by dionian 1y ago
so module imports looks to be different from normal imports and actually helps reduce the number of imports the developer needs to write. FWIW Scala (which runs on java) does have import renaming and also type aliases which can do what you mentioned.
- keltex 1y agoC# supports the "using alias" like this: using Project = PC.MyCompany.Project; https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/using-directive https://learn.microsoft.com/en-us/dotnet/csharp/language-ref...