79276022

Date: 2024-12-12 17:27:27
Score: 1.5
Natty:
Report link

Remove the @:

    Public Sub OnGet()
        Dim query = $"
Today is {DateTime.Today} 
and it is a {DateTime.Today.DayOfWeek}
"
    End Sub

More info: How to do a verbatim string literal in VB.NET?

Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-2):
Posted by: Andrew Morton