Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法在即时窗口中执行不带参数的方法?例如,在调试时,我想检查字符串变量值是否可以成功解析为日期时间。为此,我想在即时窗口中执行 datetime.Tryparse。有没有办法执行它?
只需在即时窗口中执行它: