Don't understand what "lt" is in this code RRS feed

  • Question

  • Hello everybody,

    I hope you are having a nice day.

    I am studying someone else's code and came across the following:

    for (int i = 0; i lt; points.Length – 1; i++)

    I can't seem to find out what "lt" is for. What does it do? Thank you very much.



    Sunday, March 15, 2020 7:04 PM


All replies

  • Less-than sign

    for (int i = 0; i < points.Length – 1; i++)

    Sunday, March 15, 2020 7:12 PM
  • The 'lt' is an encode command.


    Someone copied the line from a browser page,  and the 'lt' was left in the line.

    Sunday, March 15, 2020 7:47 PM
  • I see. That makes sense. Thank you so very much and good day.
    Sunday, March 15, 2020 7:59 PM
  • Hi,

    It seems that your problem has been solved. If so, please click "Mark as answer" to the appropriate answer, so that it will help other members to find the solution quickly if they face a similar issue.

    Best Regards,


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Monday, March 16, 2020 5:53 AM