C# or VB.NET

It seems to me that all the code examples shown here and in the documentation are all based on C#. My client is completely standardized on VB.NET for all its developement and we are bound to this standard as well.

For us, it would be nice if the examples were also available in VB.NET. Does anyone else feel that way or do we just have to bite the bullet and go for C# when we create tests



Answer this question

C# or VB.NET

  • archimed

    OK, thanks for that. If I bump into missing VB.NET bits in the documentation, I'll forward them to you.

    Outside the documentation, I was also referring to the blog entries and answers on the forum (by msft team members) as they often are extremely useful, but the code examples are in C#. I was hoping I am not the only one wanting to see this.


  • jackie

    Hi Roland,

    I agree with you and you are definitely not the only person requesting that. Usually, we post the samples in the same language the original post was made so that the thread initiator could feel comfortable.

    However, there are some cases where we post the first code in C#, simply because this is the most common language we use internally. I appologize for that and I will try to convince my colleagues to use VB.NET or both languages in that case.

    Regards,

    Boris



  • Remco van Reij

    Hi Roland,

    Just a follow up, here is our first new instance of providing VB.NET code along with the C# code in a blog entry:

    http://blogs.msdn.com/slumley/archive/2006/04/07/570772.aspx

    It's a post by Sean Lumley on "Custom Data Binding in Web Tests".

    We still can't promise VB.NET at all times, but we are going to try!

    Thank you,

    Nicole Johanson



  • Kraelen

    Hi Roland,

    Yes, I feel that way too.  I absolutely believe that we should be providing examples in VB.NET along with C# examples wherever possible, from the beginning.  I can only speak for the documentation, not examples you see on the forums or samples that ship with the product.  In the documentation, once someone has already completed a topic, if they only added C#, it is difficult to know that we need to go back and add the VB.NET code.  However, feedback from users like you can make it easier for us to get a topic changed.  What I need from you is specifics - if you can give me an example of some place in the documentation that you wanted VB.NET but saw only C#, if you can give me the name of a specific topic or a group of specific topics, then I can work to try to get the VB.NET added.

    Thank you,

    Nicole Johanson



  • wabo

    Ah yes, very nice!

    Thanks


  • C# or VB.NET