return $"你请求的 id 是 {id}"; $表示占位符{}, 与 StringFormat() 的用法类似 转载于:https://www.cnblogs.com/Anthony518/p/10881757.html