3
Visual Studio没有出现在我的工作位置,我正在使用Notepad ++进行开发。我知道MSDN,但我想像Python中一样从命令行浏览文档。C#相当于pydoc
在Python中,你可以浏览文档模块或函数或者是这样的:
$ pydoc raw_input
给
Help on built-in function raw_input in module __builtin__:
raw_input(...)
raw_input([prompt]) -> string
Read a string from standard input. The trailing newline is stripped.
If the user hits EOF (Unix: Ctl-D, Windows: Ctl-Z+Return), raise EOFError.
On Unix, GNU readline is used if enabled. The prompt string, if given,
is printed without a trailing newline before reading.
我想找出是否有对C#类似的东西,我可以做到以下几点:
$ doc ReadLine
我在Console.ReadLine方法上得到了一些帮助。
有没有办法做到这一点?
谢谢,包这看起来很棒。 – Animesh