I got a job! But...
-
I got a .NET based job pals!!! But there is one problem. I am a C# programmer. The company I work get's projects which require us to program in either VB.NET or C#. If it's in VB.NET, I will be having a tough time atleast in the beginning. So how do u suggest I make a move? Are there any C#->VB.NET convertors available? Not that I think it's a good solution...but it might help for some time in the beginning. Warm regards, Rakesh Rajan
The biggest problem i found was the lack of VB.NET knowledge on small things...It took me a while to find out adressOf operator to refer to references :mad: also the CType for casting...really sucks... I think there is a webservice somewhere as a webservice though however it should not take long for you to get the hang of it. :-D Cheers, Erick
-
I got a .NET based job pals!!! But there is one problem. I am a C# programmer. The company I work get's projects which require us to program in either VB.NET or C#. If it's in VB.NET, I will be having a tough time atleast in the beginning. So how do u suggest I make a move? Are there any C#->VB.NET convertors available? Not that I think it's a good solution...but it might help for some time in the beginning. Warm regards, Rakesh Rajan
Spend about a week reading and you'll be fine. Just be prepared for a little more typing :) ..:: Keno ::..
-
Spend about a week reading and you'll be fine. Just be prepared for a little more typing :) ..:: Keno ::..
-
what about...
If x = 3 Then
Console.WriteLine("True")
End Ifand
if (x == 3)
Console.WriteLine("True")
"If you weren't my teacher, I'd think you just deleted all my files." -- an anonymous UCB CS student, to an instructor who had typed "rm -i *" to get rid of a file named "-f" on a Unix system.
-
Rakesh Rajan wrote: Are there any C#->VB.NET convertors available? Not that I think it's a good solution...but it might help for some time in the beginning. My latest article was an inverse conversor, because I wanted to raise the average quality of the code.
"If you weren't my teacher, I'd think you just deleted all my files." -- an anonymous UCB CS student, to an instructor who had typed "rm -i *" to get rid of a file named "-f" on a Unix system.
What do u mean by an inverse conversor...link plz... Rakesh Rajan
-
lol ... yeah but intellisense may save u some of that with auto complete .:. Keno .:.
-
What do u mean by an inverse conversor...link plz... Rakesh Rajan
GBVB - Converting VB.NET code to C# I hope it helps, although it assumes some knowledge from both VB.NET and C#. But you'll quickly get VB.NET, although it has an ugly syntax, it's not harder to code than C#. The main problem will be with VB.NET programmers: that'll bring you headaches, specially if they came from VB 6.
"If you weren't my teacher, I'd think you just deleted all my files." -- an anonymous UCB CS student, to an instructor who had typed "rm -i *" to get rid of a file named "-f" on a Unix system.
-
The biggest problem i found was the lack of VB.NET knowledge on small things...It took me a while to find out adressOf operator to refer to references :mad: also the CType for casting...really sucks... I think there is a webservice somewhere as a webservice though however it should not take long for you to get the hang of it. :-D Cheers, Erick
Erick Sgarbi wrote: also the CType for casting...really sucks... It's worse: most people do not know when to use CType and when to use DirectCast, nor the huge performance difference.
"If you weren't my teacher, I'd think you just deleted all my files." -- an anonymous UCB CS student, to an instructor who had typed "rm -i *" to get rid of a file named "-f" on a Unix system.
-
Erick Sgarbi wrote: also the CType for casting...really sucks... It's worse: most people do not know when to use CType and when to use DirectCast, nor the huge performance difference.
"If you weren't my teacher, I'd think you just deleted all my files." -- an anonymous UCB CS student, to an instructor who had typed "rm -i *" to get rid of a file named "-f" on a Unix system.
Daniel Turini wrote: It's worse: most people do not know when to use CType and when to use DirectCast, nor the huge performance difference. Tell me about it!!!!
-
Erick Sgarbi wrote: also the CType for casting...really sucks... It's worse: most people do not know when to use CType and when to use DirectCast, nor the huge performance difference.
"If you weren't my teacher, I'd think you just deleted all my files." -- an anonymous UCB CS student, to an instructor who had typed "rm -i *" to get rid of a file named "-f" on a Unix system.
I didn't even know about DirectCast - it's not mentioned in any of the examples in MSDN where typecasting is performed AFAIK However, I do grok the usage now I'm aware of it, so ta for letting me know :-) -- Ian Darling "The moral of the story is that with a contrived example, you can prove anything." - Joel Spolsky
-
I got a .NET based job pals!!! But there is one problem. I am a C# programmer. The company I work get's projects which require us to program in either VB.NET or C#. If it's in VB.NET, I will be having a tough time atleast in the beginning. So how do u suggest I make a move? Are there any C#->VB.NET convertors available? Not that I think it's a good solution...but it might help for some time in the beginning. Warm regards, Rakesh Rajan
Glad to hear this Rakesh :-) I am sure that they'll be quite happy with your performace. BTW is this a company in Trivandrum? And since you can choose the language perhaps you can insist on using C#. And convince the others to dump VB.NET for C# Good luck anyway, Rakesh. Regards Nish
Extending MFC Applications with the .NET Framework [NW] (coming soon...) Summer Love and Some more Cricket [NW] (My first novel) Shog's review of SLASMC [NW] Come with me if you want to live
-
I didn't even know about DirectCast - it's not mentioned in any of the examples in MSDN where typecasting is performed AFAIK However, I do grok the usage now I'm aware of it, so ta for letting me know :-) -- Ian Darling "The moral of the story is that with a contrived example, you can prove anything." - Joel Spolsky
Now, for our next VB lesson: AndAlso and OrElse The difference between \ and / The difference between a Collection and an ArrayList WTF is WriteOnly The difference between Dim, Erase and Redim. How to declare a Char constant (not a one-char string constant!). How to declare an inline Array. "aBBBa" Like "a*a" is true, what about "aBBBa" Like "a**a"? Explain it. Now, the graduation work: Find a good use for a Static function.
"If you weren't my teacher, I'd think you just deleted all my files." -- an anonymous UCB CS student, to an instructor who had typed "rm -i *" to get rid of a file named "-f" on a Unix system.
-
I got a .NET based job pals!!! But there is one problem. I am a C# programmer. The company I work get's projects which require us to program in either VB.NET or C#. If it's in VB.NET, I will be having a tough time atleast in the beginning. So how do u suggest I make a move? Are there any C#->VB.NET convertors available? Not that I think it's a good solution...but it might help for some time in the beginning. Warm regards, Rakesh Rajan
-
Now, for our next VB lesson: AndAlso and OrElse The difference between \ and / The difference between a Collection and an ArrayList WTF is WriteOnly The difference between Dim, Erase and Redim. How to declare a Char constant (not a one-char string constant!). How to declare an inline Array. "aBBBa" Like "a*a" is true, what about "aBBBa" Like "a**a"? Explain it. Now, the graduation work: Find a good use for a Static function.
"If you weren't my teacher, I'd think you just deleted all my files." -- an anonymous UCB CS student, to an instructor who had typed "rm -i *" to get rid of a file named "-f" on a Unix system.
Daniel Turini wrote: Find a good use for a Static function. In VB.NET? You have Shared functions (similar to C++ static in that they are class methods that do not require object instances), and Static variables (handy for maintaining state within a function without allowing access to that state outside the scope of that function), but there tain't no Static Functions in VB.NET. VB6, OTOH, did have Static Functions, and you used them when you were lazy and wanted to declare all your variables in the function as Static, but couldn't be arsed (IIRC). I would suspect a good use for this might be found when programming finite state machines. Not being iffy about this, but I hope that your post was intended as a joke :-) -- Ian Darling "The moral of the story is that with a contrived example, you can prove anything." - Joel Spolsky
-
Daniel Turini wrote: Find a good use for a Static function. In VB.NET? You have Shared functions (similar to C++ static in that they are class methods that do not require object instances), and Static variables (handy for maintaining state within a function without allowing access to that state outside the scope of that function), but there tain't no Static Functions in VB.NET. VB6, OTOH, did have Static Functions, and you used them when you were lazy and wanted to declare all your variables in the function as Static, but couldn't be arsed (IIRC). I would suspect a good use for this might be found when programming finite state machines. Not being iffy about this, but I hope that your post was intended as a joke :-) -- Ian Darling "The moral of the story is that with a contrived example, you can prove anything." - Joel Spolsky
Yes, I was just joking AndAlso pointing some VB.NET niceties :)
"If you weren't my teacher, I'd think you just deleted all my files." -- an anonymous UCB CS student, to an instructor who had typed "rm -i *" to get rid of a file named "-f" on a Unix system.
-
Yes, I was just joking AndAlso pointing some VB.NET niceties :)
"If you weren't my teacher, I'd think you just deleted all my files." -- an anonymous UCB CS student, to an instructor who had typed "rm -i *" to get rid of a file named "-f" on a Unix system.
:-D I was very glad when short circuit operators and the
= {}
array initialisation notation turned up in VB.NET :-) It made my life considerably easier (as did being able to useas
infor
loops e.gfor i as integer = 0 to 9
in 2K3!) -- Ian Darling "The moral of the story is that with a contrived example, you can prove anything." - Joel Spolsky -
I got a .NET based job pals!!! But there is one problem. I am a C# programmer. The company I work get's projects which require us to program in either VB.NET or C#. If it's in VB.NET, I will be having a tough time atleast in the beginning. So how do u suggest I make a move? Are there any C#->VB.NET convertors available? Not that I think it's a good solution...but it might help for some time in the beginning. Warm regards, Rakesh Rajan
Rakesh Rajan wrote: Are there any C#->VB.NET convertors available? Not that I think it's a good solution...but it might help for some time in the beginning I recently had to understand some VB.NET source code and I program in C# so I just compiled the VB.NET and then reverse engineered it using Anakrino[^] to c# code to fully understand it. The reverse is also possible. Downside: - You lose the variable names, but it was very useful in understanding the syntax differences. Upside: - It works extremely well and it easy to use and seems to be the only (or at least most popular) reverse compiler for .Net
-
Glad to hear this Rakesh :-) I am sure that they'll be quite happy with your performace. BTW is this a company in Trivandrum? And since you can choose the language perhaps you can insist on using C#. And convince the others to dump VB.NET for C# Good luck anyway, Rakesh. Regards Nish
Extending MFC Applications with the .NET Framework [NW] (coming soon...) Summer Love and Some more Cricket [NW] (My first novel) Shog's review of SLASMC [NW] Come with me if you want to live
:)...that was a great encouragement...I am @ US Software, Nila (not sure whether we'd be shifted to Bhavani though). The initial project will fortunately be in C#. C# Winforms using crystal reports or something. And I suppose I could study vb.net side-by-side somehow and get ready if it comes up. Thanks a lot... :) Rakesh Rajan