gpt4 book ai didi

c# - 为什么 C# 中不包含 Java "throws"子句(在方法声明中)?

转载 作者:IT老高 更新时间:2023-10-28 20:31:19 26 4
gpt4 key购买 nike

为什么 C# 中不包含 Java“throws”子句(在方法声明中)?

最佳答案

Anders Hejlsberg(首席 C# 架构师)在这次采访中解释了这一点:

http://www.artima.com/intv/handcuffs.html

关于c# - 为什么 C# 中不包含 Java "throws"子句(在方法声明中)?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/385913/

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