So is it best practice to only use C# for SharePoint development?
I found it very interesting to see that the MSDN article Best Practices: Using Disposable Windows SharePoint Services Objects only provides code samples in C#, can we assume that it is NOT best practice to use VB.Net to develop for SharePoint or is it just the lack of the using Statement that has kept these examples out?
[Update] I was wrong: There is a Using statement in VB.Net
Using site As New SPSite(“http:///portal.company.com”) Using web As SPWeb = site.OpenWeb() Console.WriteLine(web.Title) End Using End Using
Thanks to Paul Liebrand for pointing this out and helping all you VB.Net SharePoint developers to develop using best practice.

Add New Comment
Viewing 4 Comments
Thanks. Your comment is awaiting approval by a moderator.
Do you already have an account? Log in and claim this comment.
Do you already have an account? Log in and claim this comment.
Do you already have an account? Log in and claim this comment.
Do you already have an account? Log in and claim this comment.
Do you already have an account? Log in and claim this comment.
Add New Comment
Trackbacks
(Trackback URL)