Chapter 20. The My Namespace

The great debate is always the same: better Visual Basic or Visual C#? Because of the .NET Framework, the Common Language Runtime, and the IL language, the languages’ evolution brought both VB and C# to do basically the same things. Of course, there are some differences, and one language has some features that the other one does not have, as with the case of void lambdas in C#, which have been introduced in VB only with this last version, or the case of VB’s XML literals that C# does not have. Differences are obvious. One of the Visual Basic features that does not have commonalities with other managed languages is the My namespace, belonging to VB starting from Visual Basic 2005. In this chapter you consider the My namespace that can write productive code, according to the philosophy of “less code, more productivity.”

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.133.93.30