Using statements in C# #2440
Replies: 2 comments 2 replies
-
It's neither. You simply need to type in all the needed code :) It's not really feasible to put all potentially useful usings in initial solution stub of every kata, because author cannot possibly know what classes you would like to use in your solution. If this feature would be configured per user, you would probably quickly notice that there are some usings you need to type in manually anyway, and many configured ones end up not being used that often as you thought they would be. I think that maintaining a list of "default usings" would quickly become tedious. On a top of this, adding required usings is just one keyboard shortcut in an IDE. |
Beta Was this translation helpful? Give feedback.
-
IMO it can be somehow solved. I think also it would be good to add |
Beta Was this translation helpful? Give feedback.
-
A lot of times i want to solve katas but i have to manually type most of my using statements( Linq, generic) because im used to the .Net environment.
Is there a way to permanently have those statements loaded up or is this a feature the codewars team have to implement?
Beta Was this translation helpful? Give feedback.
All reactions