开发者

About csc.exe, is it necessary to learn? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.

Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.

Closed 5 years ago.

Improve this question

I am an intermediate programmer and these days I've been analyzi开发者_C百科ng the CLR, my question is what is the need to learn all the commands of c# command line! It's so boring.

is it necessary?


You might find, as I did, that sometimes it's just easier to start up Notepad (or your favorite text editor) to create a simple C# program. Then use the command line tool to compile it quickly, without having to go to the trouble of starting Visual Studio, building a project, etc. It's a whole lot easier and faster to just type:

csc /t:exe MyProgram.cs

Knowledge is rarely useless. Some of the things you consider 'boring' turn out to be the most important and eventually the most interesting.

In the case of the .NET command line tools, I would suggest learning about them--what tools exist, what they do, and how to operate them--but I wouldn't say that you need to become a command line guru.


It depends a lot on how you plan to use C#. If you're building things only from Visual Studio or another IDE, it's probably less of a priority. However, if you'll be building C# projects using other tools (ant, for example), you should familiarize yourself with it.


If you have a tool like Visual Studio, you can most probably get away without learning command line compilation. However, knowing them would be of advantage in situations when you don't have advance IDE.

This goes for every language and not just c#.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜