में() (कंस्ट्रैसिस) और {} (घुंघराले ब्रैकेट) के बीच अंतर दोनों के बीच क्या अंतर है। मैंने सोचा कि वे वही थे लेकिन आज मुझे एहसास हुआ कि वे नहीं हैं।रेजर
क्यों यह सही
@(Model.WillAttend == true ?
"This will be an exciting party with you" :
"So sorry. You'll lose the beeer")
है और यह नहीं है:
@{Model.WillAttend == true ?
"This will be an exciting party with you" :
"So sorry. You'll lose the beeer"}