Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私からしてみれば、
id = "結果@結果"
レンダリングされたhtmlは
id="Result 123"
しかし、スペースなしでIDを取得する方法
id = "Result123"
できるよ:
id = "Result@(result)"
より役立つ例については、このC# Razor Syntax Quick Referenceを参照してください。