gpt4 book ai didi

C# 相当于 pydoc

转载 作者:行者123 更新时间:2023-11-30 18:02:07 26 4
gpt4 key购买 nike

<分区>

我的工作地点没有 Visual Studio,我正在使用 Notepad++ 进行开发。我知道 MSDN,但我想像在 Python 中一样从命令行浏览文档。

在 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 方法上获得了一些帮助。

有没有办法做到这一点?

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com