Click here to Skip to main content
15,921,577 members
Home / Discussions / C#
   

C#

 
GeneralRe: Message formatting question (expires on sunday) Pin
Leslie Sanford28-Jul-07 5:46
Leslie Sanford28-Jul-07 5:46 
GeneralRe: Message formatting question (expires on sunday) Pin
Luc Pattyn28-Jul-07 5:54
sitebuilderLuc Pattyn28-Jul-07 5:54 
GeneralRe: Message formatting question (expires on sunday) Pin
Leslie Sanford28-Jul-07 6:18
Leslie Sanford28-Jul-07 6:18 
GeneralRe: Message formatting question (expires on sunday) Pin
Luc Pattyn28-Jul-07 7:15
sitebuilderLuc Pattyn28-Jul-07 7:15 
QuestionInterActive javaScripte With Combobox html control Pin
Thaer Hamael27-Jul-07 15:53
Thaer Hamael27-Jul-07 15:53 
AnswerRe: InterActive javaScripte With Combobox html control Pin
Christian Graus27-Jul-07 16:54
protectorChristian Graus27-Jul-07 16:54 
Questionmigrating C to C# Pin
abstarsss27-Jul-07 14:00
abstarsss27-Jul-07 14:00 
AnswerRe: migrating C to C# Pin
Luc Pattyn27-Jul-07 14:19
sitebuilderLuc Pattyn27-Jul-07 14:19 
Assuming you really mean C as opposed to C++, here is some basic info:

You will notice C# is object-oriented. Get used to it !

Try to grasp the benefits of "properties", they are great.

Dont try to solve all problems with "global variables" and lots of public members. Instead use classes, hide what does not have to be disclosed,
make all members either private or protected, and use protected or public
properties when your first reaction would be to use public members.

Normally you dont use pointers (they exist, but are used for solving
performance issues only, as in image processing; not for general usage,
such as say linked lists).

Arrays are objects too.

Dont worry about releasing objects; "new" does what "malloc" did for you,
"free" is to some extent automatic.

If you create an instance from a class that offers a public Dispose() method,
then you better end the object's life as soon as you are done with it,
by calling said Dispose() method.

that should get you started.

Smile | :)


AnswerRe: migrating C to C# Pin
Christian Graus27-Jul-07 14:25
protectorChristian Graus27-Jul-07 14:25 
AnswerRe: migrating C to C# Pin
abstarsss27-Jul-07 14:41
abstarsss27-Jul-07 14:41 
QuestionHow can i know witch button was click ? Pin
Yanshof27-Jul-07 12:18
Yanshof27-Jul-07 12:18 
AnswerRe: How can i know witch button was click ? Pin
Christian Graus27-Jul-07 12:30
protectorChristian Graus27-Jul-07 12:30 
GeneralRe: How can i know witch button was click ? Pin
Yanshof27-Jul-07 12:33
Yanshof27-Jul-07 12:33 
GeneralRe: How can i know witch button was click ? Pin
Christian Graus27-Jul-07 12:59
protectorChristian Graus27-Jul-07 12:59 
AnswerRe: How can i know witch button was click ? Pin
Guffa27-Jul-07 12:35
Guffa27-Jul-07 12:35 
GeneralRe: How can i know witch button was click ? Pin
T_I_T_U_S27-Jul-07 12:40
T_I_T_U_S27-Jul-07 12:40 
AnswerRe: How can i know witch button was click ? Pin
ekynox27-Jul-07 13:38
ekynox27-Jul-07 13:38 
AnswerRe: How can i know witch button was click ? Pin
MarkB77727-Jul-07 13:46
MarkB77727-Jul-07 13:46 
AnswerRe: How can i know witch button was click ? Pin
Luc Pattyn27-Jul-07 13:53
sitebuilderLuc Pattyn27-Jul-07 13:53 
GeneralThank you very much. Pin
Yanshof27-Jul-07 14:10
Yanshof27-Jul-07 14:10 
Questionto center TabPage Scroll Bar [modified] Pin
fatihbilmuh27-Jul-07 11:59
fatihbilmuh27-Jul-07 11:59 
QuestionI need practical ideas for IT engineering Graduation Project Pin
michaelqog27-Jul-07 11:00
michaelqog27-Jul-07 11:00 
AnswerRe: I need practical ideas for IT engineering Graduation Project Pin
snorkie27-Jul-07 11:09
professionalsnorkie27-Jul-07 11:09 
AnswerRe: I need practical ideas for IT engineering Graduation Project Pin
Paul Conrad28-Jul-07 11:24
professionalPaul Conrad28-Jul-07 11:24 
QuestionHow can I edit a database row and then update it ? Pin
eni_9427-Jul-07 10:43
eni_9427-Jul-07 10:43 

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.