.net core $符号用法

return $"你请求的 id 是 {id}";

$表示占位符{}, 与 StringFormat() 的用法类似

原文地址:https://www.cnblogs.com/Anthony518/p/10881757.html