What is the maximum number of line extensions in VB.NET?

I searched all around Bing and Google, trying to find this, does anyone have an answer? How many line extensions will the compiler allow in VB.NET 2010 (.NET 4)?

+3
source share
2 answers

If .NET 4, I would say, is pretty unlimited, especially since this version introduced line breaks for things like LINQ queries, attributes, etc., and they can quickly get out of hand, so I I would say the restriction should be too high or not exist at all.

The problem becomes: how does the code read when you have zacked up a lot of line breaks?

+2
source

. , .

+2

All Articles