C# with keyword equivalent

There’s no with keyword in C#, like Visual Basic. So you end up writing code like this: this . StatusProgressBar . IsIndeterminate = false ; this . StatusProgressBar . Visibility = Visibility . Visible ; this . StatusProgressBar . Minimum = 0 ; this Read More...

Read the complete post at http://feedproxy.google.com/~r/OmarAlZabirBlog/~3/NumykYUkif8/c-with-keyword-equivalent.aspx

Published 03-21-2010 7:33 PM by Omar AL Zabir blog on ASP.NET Ajax and .NET 3.5
Filed under: , ,
Powered by Community Server (Non-Commercial Edition), by Telligent Systems