asked 85.8k views
3 votes
IblMessage.txt=welcome to fiji.what is the error in the coding and what type of error is it?(explain)​

asked
User Ambrish
by
8.5k points

1 Answer

3 votes

Answer:

The correct syntax (assuming WinForms) is

lblMessage.Text = "Welcome to fiji";

The given statement fails to follow the syntax of literal strings, which should be in quotation marks. (depending on the framework and programming language, the txt property may also be incorrect, as well as the missing semi-colon).

answered
User StackedQ
by
9.1k points