2011-11-30 103 views
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方法上得到了一些帮助。

有没有办法做到这一点?

回答

1

MSDN内容没有命令行/控制台帮助查看器。

您可以得到的最接近的(我知道的)是Package This项目,该项目将下载MSDN内容并从中创建CHM。

+0

谢谢,包这看起来很棒。 – Animesh