Click here to Skip to main content
15,887,683 members
Home / Discussions / C#
   

C#

 
GeneralAccessing metadata of files Pin
Dimitris Iliopoulos16-Jun-03 1:58
Dimitris Iliopoulos16-Jun-03 1:58 
Generalcustom event handling for gui Pin
zuhx15-Jun-03 22:10
zuhx15-Jun-03 22:10 
GeneralRe: custom event handling for gui Pin
Rocky Moore16-Jun-03 0:11
Rocky Moore16-Jun-03 0:11 
GeneralRe: custom event handling for gui Pin
zuhx16-Jun-03 20:20
zuhx16-Jun-03 20:20 
QuestionHow do i run .aspx files in visualstudio Pin
Slow Learner15-Jun-03 18:15
Slow Learner15-Jun-03 18:15 
AnswerRe: How do i run .aspx files in visualstudio Pin
kaschimer16-Jun-03 7:56
kaschimer16-Jun-03 7:56 
QuestionWhen to use C# , when VC++ ? Pin
Meysam Mahfouzi15-Jun-03 17:18
Meysam Mahfouzi15-Jun-03 17:18 
AnswerRe: When to use C# , when VC++ ? Pin
Rocky Moore15-Jun-03 23:49
Rocky Moore15-Jun-03 23:49 
Unless you meant Managed C++ applications instead of VC++, your question is a bit off. Wouldn't it be more like "Why would you use .NET to create Windows applications instead of the Windows API?"

The first question is, what kind of market do you wish your application to target? Does your product plan to access information on the net? Is your product client/server or n-tier? Will your program target Windows 95? Are you interested is cross platform development?

These are just a few of the questions to help decide which tool to use. With .NET you can make robust applications that are extreamly scalable with easy modular design that can share code between a web application or windows application without recoding. With .NET remoting, you can distribute your application workload over multiple computers or over the Internet without changing your code. You can even run modules in your application in multiple sections (AppDomains) to protect modules from crashing and taking down the others.

Unfortunantly, Microsoft has done a loosy job at marketing .NET. Most people think of .NET as a web or internet platform. There is much more to it, and I cannot describe all that here.

The .NET frameworks provides the programmer with object oriented platform. There are over 8,000 classes in the .NET frameworks and they can be accessed from either a web application or a WinForm (Windows) application.

For .NET you can use any of the .NET languages included Managed C++ if the speed is required. C# just happens to be one of the languages which happens to have a lot of the flavor of C++ without all the hassles. I have been a C++ programmer since Windows 3.0 and find it very natural to use C# now (having been working full time with it for the last seven months) and hate to use C++ anymore. There are a lot of gotchas and things you just have to eat and not worry about, but the end result comes a lot easier and a lot less debugging.

For me, C# and .NET has made me move more object oriented than I ever. It is so easy to break a program up into modules that can easily be remoted, this I would not have thought of usually with C++. I personally have just about kissed COM/DCOM off. Don't need it anymore. While there are some time legacy programs you have to communicate with, if all the code is new and you can ran everyone on .NET, why bother. Although some people that have invested in lots of COM modules might disagree Wink | ;)

Another major point for me, is the movement to run .NET and C# on other platforms. Mono project has been working on a compatible WinForm (Windows applications) and WebForm to run on Linux. There are some cross platform applications starting to rise even though they do not have it 100% complete. It seems funny to design Linux GUI applications and be using C#. I expect to see much more this direction as long as Microsoft does not put down their foot.

Those are just a few of the reasons I use .NET and usually do not bother with other technologies. C# is my new language of choice and personally, I could care less if I ever see one line of C++ code again.

Rocky Moore <><
GeneralRe: When to use C# , when VC++ ? Pin
Meysam Mahfouzi16-Jun-03 18:55
Meysam Mahfouzi16-Jun-03 18:55 
GeneralRe: When to use C# , when VC++ ? Pin
J. Dunlap16-Jun-03 19:17
J. Dunlap16-Jun-03 19:17 
GeneralRe: When to use C# , when VC++ ? Pin
Rocky Moore16-Jun-03 22:34
Rocky Moore16-Jun-03 22:34 
GeneralRe: When to use C# , when VC++ ? Pin
Meysam Mahfouzi10-Aug-03 4:20
Meysam Mahfouzi10-Aug-03 4:20 
GeneralRe: When to use C# , when VC++ ? Pin
Rocky Moore11-Aug-03 0:57
Rocky Moore11-Aug-03 0:57 
GeneralShowing a Form as a drop-down menu Pin
Patrick Bristow15-Jun-03 6:53
Patrick Bristow15-Jun-03 6:53 
GeneralRe: Showing a Form as a drop-down menu Pin
J. Dunlap15-Jun-03 7:32
J. Dunlap15-Jun-03 7:32 
GeneralRe: Showing a Form as a drop-down menu Pin
Patrick Bristow15-Jun-03 7:41
Patrick Bristow15-Jun-03 7:41 
GeneralRe: Showing a Form as a drop-down menu Pin
J. Dunlap15-Jun-03 8:14
J. Dunlap15-Jun-03 8:14 
GeneralRe: Showing a Form as a drop-down menu Pin
Patrick Bristow15-Jun-03 8:44
Patrick Bristow15-Jun-03 8:44 
GeneralRe: Showing a Form as a drop-down menu Pin
J. Dunlap15-Jun-03 9:15
J. Dunlap15-Jun-03 9:15 
GeneralRe: Showing a Form as a drop-down menu Pin
Patrick Bristow15-Jun-03 9:28
Patrick Bristow15-Jun-03 9:28 
GeneralRe: Showing a Form as a drop-down menu Pin
J. Dunlap15-Jun-03 10:45
J. Dunlap15-Jun-03 10:45 
GeneralI've got it! Pin
J. Dunlap15-Jun-03 11:27
J. Dunlap15-Jun-03 11:27 
GeneralRe: I've got it! Pin
Patrick Bristow15-Jun-03 11:35
Patrick Bristow15-Jun-03 11:35 
GeneralRe: I've got it! [UPDATED] Pin
J. Dunlap15-Jun-03 11:40
J. Dunlap15-Jun-03 11:40 
GeneralRe: SetWindowLong and SetWindowPos Pin
J. Dunlap15-Jun-03 13:35
J. Dunlap15-Jun-03 13:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.