gpt4 book ai didi

c# - @: and in Razor 之间的区别

转载 作者:太空狗 更新时间:2023-10-29 20:51:14 24 4
gpt4 key购买 nike

Razor 中的这两个有什么区别?我发现我可以完成同样的事情,无论我使用 @:<text> .

最佳答案

斯科特格思里 wrote about both on his blog .他的回答基本上可以归结为 <text>支持多行,而 @:旨在成为单行的更紧凑形式。

关于c# - @: and <text> in Razor 之间的区别,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37349097/

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