0

hi everyone
I have been programing in c++ for a while now, but I'm asked to write project in c#,
so is hard to learn it ?? also I have never wrote a program with interface , so is it possible to write console application then build the interface ?
and I would appreciate it you give me some links to learn c#.
thanks in advance

6
Contributors
9
Replies
10
Views
5 Years
Discussion Span
Last Post by alaa sam
3

Hello alaa_sam,

C# isn't that hard to learn, especially when you come from C++. In fact I found it very easy. And yes, you can write a console application to open forms and such (if that is what you mean).

Here are some tutorials to begin with:
http://msdn.microsoft.com/en-us/library/aa288436(v=vs.71).aspx

Votes + Comments
Good advice!
Simple, effective solution
0

I ALSO learned it by just hacking (at first) and watching others code in videos on DNRTV.

I knew C++ and a little Java, so that really helped in understanding.

Edited by thines01: typo

0

=> Three
what I meant is that if I wrote my code as a console application Can I easily change it to windows application by building the forms ??
and thanks a lot for your attention all

0

I bought a book on C# and read most of it one day, the knowledge seemed to sort of sink in once I wanted to use C# for some small projects.

0

=> Three
what I meant is that if I wrote my code as a console application Can I easily change it to windows application by building the forms ??
and thanks a lot for your attention all

The code you use in a console application is exactly the same that you can use in a forms application. The only diffrence is the GUI.

0

=> Three
what I meant is that if I wrote my code as a console application Can I easily change it to windows application by building the forms ??
and thanks a lot for your attention all

Yes you can. I wouldn't recommewnd it, as you'll need to tie your program logic into the form, which can be confusing if you've designed it around a console.

0

You will eventually learn to write your code so the display is just for input/output and does not interfere with the logic of the program.

After some time, you will write a lot of your code that has no UI at all; it will just return values -- that way, the display or output mechanism won't matter at all. You'll compuile the assemblies in DLL form and reference them from any project you need (web, WinForm, Console, etc.).

Edited by thines01: clarity

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.