.Net Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - More.Net Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old May 26th, 2003, 06:58 PM
o_watkins o_watkins is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Location: Melbourne Aust.
Posts: 1 o_watkins User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Smile Going from Java to C#

I am probably going to get a job at a company where I will be doing C# instead of Java.

I am really nervous about this because I LOOOVE Java.

I am not sure if I should stay on in this Java job I have now or take this other job offer where they will train me in C#.

What sort of Swing-equivalent thing do they have in C#? I am a bit of a Swing nut.


- Brad
Comments on this post
Gran Roguismo agrees!

Last edited by o_watkins : May 30th, 2003 at 07:36 PM.

Reply With Quote
  #2  
Old May 30th, 2003, 08:17 AM
eric_vincent eric_vincent is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Posts: 4 eric_vincent User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
On the .NET side, there's a namespace called System.Windows.Forms where most of the non-web UI library is found. There's some other usefull stuff, such as System.Drawing and System.Text, but mostly in the System.Windows.Forms.

As to how it compares to Swing, of course it depends 99.6% on who you ask. Ask a Java coder, and it sucks. Ask a .NET coder, and it rules.

I personally code in .NET (some Flash as well), so I'm very comfortable w/ WinForms. I'm very productive, and the .NET framework is very capable and flexible. The Visual Studio environment is well rounded and capable (and well reviewed). Debugging is outstanding.

.NET is also supported by a fairly vast framework besides what's in System.Windows.Forms. Things like web services are simple to implement, great XML support, great database access support.

For custom control development, there's a very usable library for native 2D graphics. The classes in the framework can be overridden as you would expect to do just about anything you can imagine, or you can write completely from scratch.

Performance is very good, close to native C++ on the Win32 platform.

Documentation is well integrated into the development environment and is quite complete.

C# has the ability to declare "unsafe" code sections, so if you're in a controlled environment where you can declare elevated privs to a piece of code, you can do pointer manipulation as you can in C++. This type of thing is handy in image processing for example. (you don't want to use any object hierarchy to loop through 6,000,000 pixels one by one...)

In addition to the native libraries, DirectX 9 now has a managed interface (the term they use for native .NET interface). Which makes it conceivable that you could write 3D apps / games in .NET. I've cracked open the DirectX 9 SDK, but need to brush up on matricies and transforms before I get anything accomplished in 3D

All in all, if you're open to new experiences, and non-religious about platform you will certainly enjoy working with C# on the Win32 platform. It's a good language, not too far from Java or C++, but a reasonable evolution of both.

The Framework is well rounded for an early version and you can get most everything you need done and done well. Much of it is actually very cool.

If you're hopelessly tilted against Microsoft, you may not be able to deal with it; this would be for no technical reason but rather for philosophical ones.
Comments on this post
Gran Roguismo agrees!

Reply With Quote
  #3  
Old June 4th, 2003, 03:31 PM
rndaccessandy rndaccessandy is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Posts: 6 rndaccessandy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I have done a lot of work with Java and Swing and recently started working with C# and the GUI components found in the System.Window.Forms .NET library. I can safely say that adapting to C# from Java is not a problem and my personal opinion is that that building GUIs/WinForms in .NET (using Visual Studio .NET) is far more practical than using Java and Swing. I have found building WinForms to be a rapid process and they seem to run more smoothly than Swing applications. The major gripe is that WinForms only run on, you guessed it, a Windows platform. If I ever develop in Windows I go for .NET. Anything else then it would be Java. I would recommend giving the C# job a go, the more skills you get the better!

Andrew

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - More.Net Development > Going from Java to C#


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway