is there a best code solution so that there is no error in the vb.net?. is there a possibility of an error in the conversion? I provide a share link because I failed continuously to post the code c #.
'code output in VB.NET
Private Shared Function GenerateReceiptTemplate() As String
Return "
<center>
<font size='24px'><b>WcDonalds</b></font><br/> ''>' expected
<span>wcdonalds@gmail.com</span> 'Attribute specifier is not a complete statement. Use a line continuation to apply the attribute to the following statement.
</center> 'Identifier expected
<br/><br/> ''>' expected
<table width='100%'> ''>' expected
<thead>
<tr>
<th align='left'>Product Name</th> ''>' expected
<th>Quantity</th> 'Attribute specifier is not a complete statement. Use a line continuation to apply the attribute to the following statement.
<th align='right'>Subtotal</th> ''>' expected
</tr> 'Identifier expected
</thead> 'Identifier expected
<tbody>
<Orders/> ''>' expected
</tbody> 'Identifier expected
</table> 'Identifier expected
<br/> ''>' expected
<center>---------------------------------------</center> 'Attribute specifier is not a complete statement. Use a line continuation to apply the attribute to the following statement.
<br/> ''>' expected
Total: <b><Total/></b><br/> ''>' expected
Cash: <b><Cash/></b><br/> ''>' expected
Change: <b><Change/></b><br/> ''>' expected
<br/> ''>' expected
Transaction ID: #<Id/><br/> 'Syntax error & Method arguments must be enclosed in parentheses & 'Transaction' is a type and cannot be used as an expression & 'If', 'ElseIf', 'Else', 'End If', 'Const', or 'Region' expected & 'ID' is not declared. It may be inaccessible due to its protection level
Cashier: <Cashier/><br/> ''>' expected
Date: <Date/><br/> 'Keyword is not valid as an identifier & 'Date' is a type and cannot be used as an expression & '.' expected
<br/> ''>' expected
<center>---------------------------------------</center> 'Attribute specifier is not a complete statement. Use a line continuation to apply the attribute to the following statement.
<br/> ''>' expected
<center><b>Thanks for visiting WcDonalds</b></center> 'Attribute specifier is not a complete statement. Use a line continuation to apply the attribute to the following statement.
" 'Syntax error
End Function
thanks jack
'I can't do multiline strings – roy Jun 24 '22 at 14:55