Click here to Skip to main content
15,887,434 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Can someone please teach me how to convert this c# piece of code into vb code

struct Output<T> where T : IComparable<T><br />
   {<br />
        public double output;<br />
     <br />
      <br />
    };
Posted

thank you for the quick respond guys...i really i appreciated your help
 
Share this answer
 
Comments
Tarun.K.S 1-Jul-11 8:31am    
Thanks. It will be much appreciated if you can vote and accept the answer(s) that helped.
Hi, you can use this excellent tool here: http://www.developerfusion.com/tools/convert/csharp-to-vb/[^]

Here is the converted code(tested it too):

VB
Structure Output(Of T As IComparable(Of T))
    Public output As Double
End Structure
 
Share this answer
 
You can try googling for c# to vb converters
C# to VB

Always handy to have around
 
Share this answer
 
v2
You can go here[^] and it will convert it for you. If you actually want to learn about the code then try this[^] to get you going.
 
Share this answer
 
Comments
Tarun.K.S 1-Jul-11 8:27am    
My bad, didn't see you have answered it. 5+
R. Giskard Reventlov 1-Jul-11 8:29am    
Thanks but I learnt a while back that more than one of us can post at the same time and, in fact, I thought I was the first but was easily beaten to it by a couple of others. Hopefully the OP appreciates all of the attention!
Hi the VB code for the same is

VB
Structure Output(Of T As IComparable(Of T))
    Public output As Double
End Structure
 
Share this answer
 
Comments
Tarun.K.S 1-Jul-11 8:27am    
Oops seems like everyone else have answered this question.
5+

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900