I have been looking all around Bing and Google trying to find this, does anyone have an answer? How many line continuations will the compiler tolerate in VB.NET 2010 (.NET 4)?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If is .NET 4 I would say is pretty limitless, specially since automatic line continuations have been introduced on this version for things like LINQ queries, Attributes, etc. and those can get out of hand pretty quickly so I would say the limit should be either too high or not exist at all.
The issue becomes: How readable does the code gets once you have chained a big number of line continuations?