Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. I got a job! But...

I got a job! But...

Scheduled Pinned Locked Moved The Lounge
csharphelpquestioncareer
21 Posts 10 Posters 3 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Daniel Turini

    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 Offline
    I Offline
    Ian Darling
    wrote on last edited by
    #12

    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

    D 1 Reply Last reply
    0
    • R Rakesh Rajan

      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

      N Offline
      N Offline
      Nish Nishant
      wrote on last edited by
      #13

      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

      R 1 Reply Last reply
      0
      • J joinme

        Man...u mean VB.NET requires more code (I mean letters) then C#?

        N Offline
        N Offline
        netclectic
        wrote on last edited by
        #14

        COBOL.Net probably uses less code then VB.Net ;)

        1 Reply Last reply
        0
        • I Ian Darling

          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

          D Offline
          D Offline
          Daniel Turini
          wrote on last edited by
          #15

          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 1 Reply Last reply
          0
          • R Rakesh Rajan

            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

            G Offline
            G Offline
            GwwDiehl
            wrote on last edited by
            #16

            ;);)This is just a suggestion from a Fortran->c->Vbasic prpgrammer (new to vb.net) Staret with vb6 projects/code and then see how those projects are translated up to vb.net (MS code adds the necessary stuff). Good Luck!!! G Diehl

            1 Reply Last reply
            0
            • D Daniel Turini

              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 Offline
              I Offline
              Ian Darling
              wrote on last edited by
              #17

              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

              D 1 Reply Last reply
              0
              • I Ian Darling

                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

                D Offline
                D Offline
                Daniel Turini
                wrote on last edited by
                #18

                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.

                I 1 Reply Last reply
                0
                • D Daniel Turini

                  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.

                  I Offline
                  I Offline
                  Ian Darling
                  wrote on last edited by
                  #19

                  :-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 use as in for loops e.g for 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

                  1 Reply Last reply
                  0
                  • R Rakesh Rajan

                    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

                    M Offline
                    M Offline
                    Member 96
                    wrote on last edited by
                    #20

                    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

                    1 Reply Last reply
                    0
                    • N Nish Nishant

                      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

                      R Offline
                      R Offline
                      Rakesh Rajan
                      wrote on last edited by
                      #21

                      :)...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

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups