Register - Login
Views: 99865889
Main - Memberlist - Active users - Calendar - Wiki - IRC Chat - Online users
Ranks - Rules/FAQ - Stats - Latest Posts - Color Chart - Smilies
05-04-22 05:59:23 PM
Jul - Computers and Technology - C# tutorials New poll - New thread - New reply
Next newer thread | Next older thread
messiaen
Catgirl
Level: 68


Posts: 705/1085
EXP: 2596693
For next: 132107

Since: 11-20-07


Since last post: 8.1 years
Last activity: 7.2 years

Posted on 12-16-09 03:13:58 PM Link | Quote
So, anybody familiar here with C#?

I've been looking for an alternative to GUI programming and C# seems like a good choice. My background is mostly assembly and C, that is, pretty low-level stuff, so this might be a good opportunity to learn some higher-level programming concepts.

I was wondering if anybody has some good links to share regarding C# programming, especifically about the GUI part (I'm using Visual Studio Express edition) and the main libraries.
dirbaio
For future reference, "Responsible disclosure" isn't "acting like a douche about an exploit and demanding compensation".
Level: NaN


Posts: 231/-1288
EXP: NaN
For next: 0

Since: 07-28-09

From: Spain

Since last post: 10.9 years
Last activity: 9.9 years

Posted on 12-16-09 04:11:05 PM Link | Quote
C# is pretty much easy to learn. The visual designer for UI stuff is really easy to use, and c# syntax is pretty much the same as c/c++'s.

There is some new stuff / differences compared to c++ of how c# works:
- C# has a garbage collector, which means that all memory is automatically managed (no more malloc, etc). Read more Here

- Classes. This is a VERY useful feature of c#, and all c# libraries work with them, so you have to know what they are and how to work with them.

As for the designer, i dont think you need a tutorial. I learnt it by playing around with it. You can create buttons, text boxes, etc visually and change their properties and assign events to them, for example: when you click a button, a function gets called so you can make the button make an action.

You can google around, but keep in mind that there are two ways of creating an UI in c#: With the designer (so you only code manually what your form does), and programatically, by creating by hand the form, the buttons, setting their properties, tex, position, etc manually and adding them to the form manually.
I recommend going with the designer. It is much easier. Manually coding forms is only useful if you want to dynamically generate forms depending on some input or such.

Hope it helps!
Next newer thread | Next older thread
Jul - Computers and Technology - C# tutorials New poll - New thread - New reply


Rusted Logic

Acmlmboard - commit 47be4dc [2021-08-23]
©2000-2022 Acmlm, Xkeeper, Kaito Sinclaire, et al.

28 database queries.
Query execution time: 0.086257 seconds
Script execution time: 0.004403 seconds
Total render time: 0.090661 seconds