我无法在 foreach 循环中插入逗号中的空格。有一个更好的方法吗?它打扰了
@{ var multipleSpeakerSeparator = " "; }
@foreach (var speaker in session.SpeakersList)
{
@multipleSpeakerSeparator <a href="@(speaker.SpeakerLocalUrl)">
@speaker.UserFirstName @speaker.UserLastName </a>multipleSpeakerSeparator = ",";
}