I have a question about the using
statement for multiple files at once.
I have created an overload for a class that I want to use in my program. To do so in one of my files I have added the following using statement.
using ClassName = CustomClassName;
This works, but only for that particular file.
Is there a way to get this to work for my entire project?
No.
using
directives are per file.
You can always create a template that includes it.
No; C# does not have any such feature.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With