A group blog from members of the VB team
Last week at the Professional Developers Conference, we made a number of very exciting announcements regarding the future of Visual Basic. Here is the list of VB 2010 features we've announced:
So many exciting features to look forward to! Stay tuned for more blog posts and videos which illustrate these features in more detail.
PingBack from http://blog.a-foton.ru/index.php/2008/11/03/vb-2010-unveiled-at-pdc-2008-lisa-feigenbaum/
Didn't make it to the PDC? No problem. You can still check out the *hottest* presentation at the Professional
I recently blogged about the new VB 2010 language features announced at PDC, as well as the video available
Didn't make it to the PDC? No problem. You can still check out the *hottest* presentation at the
What about using Nullable(Of Integer) as a optional parameter?
I'm pretty sure Lucian showed that to me after his talk at the PDC.
Thanks for the reminder, Jonathan. Yes, VB2010 allows nullables as optional parameters. Here are some examples.
Sub a(Optional ByVal x As Integer? = Nothing)
Sub b(Optional ByVal y As Integer? = 2)
Sub c(Optional ByVal x As Nullable(Of Integer) = Nothing)
Sub d(Optional ByVal y As Nullable(Of Integer) = 2)
Sub e(Optional ByVal z As MyStructure? = Nothing)
Please a refactoring to remove all line continuation characters. This would save me many hours each month reformatting lame formatted .NET code written in VB6/classic ASP style.
How does the parser distinguish an auto-property declaration from a normal one? Does it look ahead for "Get" or "Set" token, and, if there isn't one, assumes an auto-property?
How do auto-property declarations work with interfaces?
Still no unsafe code blocks!!!
I guess upto now they still haven't invested in making the .net framework thread safe.
Sigh...
Hi guys is it possible to assign values from one list object to another instide of doing like this "■Dim y As New List(Of String) From {"hello", "world"}" i want to assign the values which are return from database as a list consider "objlist1" is the list returned from my storeprocedure In place "From {"hello","world"} " array Can i do like this " Dim y As New List(Of String) From objlist1" Is it possible.
If your database list implements IEnumerable then you can call the extension method "ToList()" on it
You mean to say that if return type of Database function is IList then i can take values in List from IList
Like
Dim y As New List(Of String) From objlist1.ToList() will this extracts all the values to list y. is this right? if so please can u give me a example?
Thank you