Results 1 to 18 of 18

Thread: From VB.Net to C#

  1. #1

    Thread Starter
    Frenzied Member StrangerInBeijing's Avatar
    Join Date
    Mar 2005
    Location
    Not in Beijing
    Posts
    1,666

    Resolved From VB.Net to C#

    Hi,

    I will be moving to C# now (used vb6 > vb.net before).

    Wondering if someone know about a nice "crash course" highlighting the most important things one got to know is such case (I mean, I allready know the framework kinda, IDE, blah blah blah)

    Anyone?
    Last edited by StrangerInBeijing; Apr 15th, 2005 at 09:08 AM.
    Install and Configure Eclipse For both Java and PHP development
    Accessible Ajax/jQuery Forms Degrade gracefully with JavaScript Disabled

  2. #2
    Fanatic Member
    Join Date
    Jan 2005
    Location
    Cebu
    Posts
    607

    Re: From VB.Net to C#

    I don't know much about this C# thing but if you look to the %Installed Directory%\VC#, you can find a C# Language Specification which detail a simple but elegant tutorial in C#. IDE is editor dependent process. You can manage to go through help files and about namespace and objects of the Framework, you can always refer to http://msdn.microsoft.com/.

  3. #3
    Frenzied Member dj4uk's Avatar
    Join Date
    Aug 2002
    Location
    Birmingham, UK Lobotomies: 3
    Posts
    1,131

    Re: From VB.Net to C#

    Take a look at the attached C#/VB.NET comparison cheet sheet. Should help you get up to speed.

    DJ
    Attached Images Attached Images

    If I have been helpful please rate my post. If I haven't tell me!

  4. #4
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: From VB.Net to C#

    I was working primaly in VB.NET when I had to make an immediate jump to C#. It was difficult... for about 3 hours.

    I realized that if you know the framework, you know both the languages. That easy, about 90% of the time. So fret not!

  5. #5

    Thread Starter
    Frenzied Member StrangerInBeijing's Avatar
    Join Date
    Mar 2005
    Location
    Not in Beijing
    Posts
    1,666

    Re: From VB.Net to C#

    Thanx DJ & Mendhak,

    Guess I'm just too worried, as Monday I start at mothership (MS!)...and well, you know.....

    I will dig into it tomorrow, after working through the comparison cheet sheet dj4uk gave us (Thanx mate, it's so great, I realized that I don't even know all the VB syntax..ha ha)

    Cheers!

    Not so Stranger Anymore
    Install and Configure Eclipse For both Java and PHP development
    Accessible Ajax/jQuery Forms Degrade gracefully with JavaScript Disabled

  6. #6
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: From VB.Net to C#

    You can also copy paste and convert here:

    http://www.developerfusion.com/utili...btocsharp.aspx

  7. #7
    Hyperactive Member fret's Avatar
    Join Date
    Sep 2004
    Posts
    472

    Re: From VB.Net to C#

    Quote Originally Posted by mendhak
    I was working primaly in VB.NET when I had to make an immediate jump to C#. It was difficult... for about 3 hours.

    I realized that if you know the framework, you know both the languages. That easy, about 90% of the time. So fret not!
    are you talking to me?

  8. #8
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: From VB.Net to C#

    Quote Originally Posted by fret
    are you talking to me?
    I knew you'd reply.

  9. #9

    Thread Starter
    Frenzied Member StrangerInBeijing's Avatar
    Join Date
    Mar 2005
    Location
    Not in Beijing
    Posts
    1,666

    Re: From VB.Net to C#

    grrrrr.....tomorrow I gonna have fretting frog for dinner (easy here in China....and quite tasty too!)

    Shurrup or give advice
    Install and Configure Eclipse For both Java and PHP development
    Accessible Ajax/jQuery Forms Degrade gracefully with JavaScript Disabled

  10. #10
    Lively Member
    Join Date
    Apr 2002
    Location
    UK
    Posts
    90

    Re: From VB.Net to C#

    Quote Originally Posted by StrangerInBeijing
    Hi,

    I will be moving to C# now (used vb6 > vb.net before).

    Wondering if someone know about a nice "crash course"
    I have a C# stock control example you can have www.adoanywhere.com , please feel free to use the source and give to others. It was developed from a WIN32 application purely as a learning exercise but it is stable and shows a few techniques.

    Check out the standard forms that it uses for the user interface. It implements Refresh, Apply, Ok, Cancel in a standard manner. I havn't seen other examples of this yet.

    It also controls grid displays according to settings in your database (handy for hiding columns according to the user).

    It uses a remote server for its data so you can see a little about how to do that (n-tier) - it uses an XMLDataDocument as the basis for all data handling.

    If anybody thinks this is worth following up I will document it some more and make more people aware of it.

    Hello to those in this group who havn't heard from me for a while..

    All the best. Mike Colier. www.adoanywhere.com

  11. #11

    Thread Starter
    Frenzied Member StrangerInBeijing's Avatar
    Join Date
    Mar 2005
    Location
    Not in Beijing
    Posts
    1,666

    Re: From VB.Net to C#

    Hi Mike!

    Thanks a lot, I'm sure this will be very helpfull. Just waiting for my user account (from Redmont apparantly...whooaa) then I can install VS (Whidbey they say...woaaa again).

    In mean time I'm reading this documents that comes with when you install SharpDevelop (C# language spec, etc) and suggest anyone that are in the same sitution than me do the same. One of those docs that uses all this funny english words, but it covers a lot)

    Thanx again for your input (Not talking to frogs and frets)

    Cheers!
    Install and Configure Eclipse For both Java and PHP development
    Accessible Ajax/jQuery Forms Degrade gracefully with JavaScript Disabled

  12. #12
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    If you already know the stuff behind the framework and how .NET app works , I found the fastest way to adopt C# (if you're coming from VB.NET route) is to rewrite your old apps (in any lang) in C# . This is more interesting , encourging , and time-saving . my 2cent.

  13. #13

    Thread Starter
    Frenzied Member StrangerInBeijing's Avatar
    Join Date
    Mar 2005
    Location
    Not in Beijing
    Posts
    1,666

    Re: From VB.Net to C#

    yeah, that's a cool idea. not going that route though, as the stuff I did the last year or so at my previous employer make me wanna throw up.

    But all this little sample apps I've written (like when for instance you experiment with hashtables when you try to figure it out) will be just cool...so thanx mate.

    but just been thinking...would be cool if there was some thread with "program ideas", grouped by complexity level, with short specs for applications, components, etc. Dig me? someone think it's an idea and know how to take it from here?
    Install and Configure Eclipse For both Java and PHP development
    Accessible Ajax/jQuery Forms Degrade gracefully with JavaScript Disabled

  14. #14
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Necessity is the mother of invention . Be creative !

  15. #15

    Thread Starter
    Frenzied Member StrangerInBeijing's Avatar
    Join Date
    Mar 2005
    Location
    Not in Beijing
    Posts
    1,666

    Re: From VB.Net to C#

    Actually I'm cool with what I've got, just thought such a thread or whatever will be usefull for some new coders, practice, and so on.

    Or you just read up a clever sounding phrase and had to let it out somewhere?
    Install and Configure Eclipse For both Java and PHP development
    Accessible Ajax/jQuery Forms Degrade gracefully with JavaScript Disabled

  16. #16
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    lol , the point is that new coders should work & think harder .

  17. #17

    Thread Starter
    Frenzied Member StrangerInBeijing's Avatar
    Join Date
    Mar 2005
    Location
    Not in Beijing
    Posts
    1,666

    Re: From VB.Net to C#

    Coding according to Pirate:

    1) Work and Think Harder
    2) Become Better
    3) Make more Mistakes


  18. #18
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083

    Re: From VB.Net to C#

    Quote Originally Posted by StrangerInBeijing
    Coding according to Pirate:

    1) Work and Think Harder
    2) Become Better
    3) Make more Mistakes

    you left out the most important two :

    0.1- Smoking is creativity stimulant .
    0.2- Take Amphetamine regulary to achieve your goals just ON TIME .



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width