In both Visual Basic and C#, every data value has a lifetime. Each value comes into existence, lives a good, middle-class life, and eventually fades into the emptiness of the garbage collection process.
Because both languages use the underlying .NET Framework for data management, they generally treat each data value identically. But when it comes to lifetimes, there are situations where the languages treat data differently, and in ways that can impact your source code.
To find out exactly how the languages differ, read my new article, “A Lifetime of Data in C# and Visual Basic,” on the Visual Studio Magazine web site.
[Image Credits: Visual Studio Magazine]