Click here to Skip to main content
15,891,136 members
Home / Discussions / C#
   

C#

 
AnswerRe: datagridview - edit columns size Pin
Mycroft Holmes11-Sep-08 15:10
professionalMycroft Holmes11-Sep-08 15:10 
QuestionFunny Control Behavior [modified] Pin
Member 204889411-Sep-08 14:00
Member 204889411-Sep-08 14:00 
QuestionToolstrip Items Disappeared Pin
kruegersck11-Sep-08 13:05
kruegersck11-Sep-08 13:05 
Questionstruct X class Pin
Dirso11-Sep-08 12:57
Dirso11-Sep-08 12:57 
AnswerRe: struct X class Pin
Judah Gabriel Himango11-Sep-08 13:00
sponsorJudah Gabriel Himango11-Sep-08 13:00 
AnswerRe: struct X class Pin
Christian Graus11-Sep-08 15:15
protectorChristian Graus11-Sep-08 15:15 
GeneralRe: struct X class Pin
Dirso11-Sep-08 15:37
Dirso11-Sep-08 15:37 
GeneralRe: struct X class Pin
Judah Gabriel Himango11-Sep-08 17:27
sponsorJudah Gabriel Himango11-Sep-08 17:27 
Dirso, it's just that this is a question that has been asked so many times! Smile | :) No hard feelings, we just tell people to look at Google, as it's been asked and answered so many times.

Since you've been good about it, I will fill you in on a few things:

Classes:
* stored on the heap
* require garbage collection (thus, more heavyweight than structs)
* when passed to a function, you're passing a reference ("pointer") to the original object

Contrast this with structs:

* stored on the stack
* no need for garbage collection (thus, much more lightweight)
* when passed to a function, a copy of the object is made



Tech, life, family, faith: Give me a visit.
I'm currently blogging about: Upon this disciple I'll build my new religion?
The apostle Paul, modernly speaking: Epistles of Paul

Judah Himango



GeneralRe: struct X class Pin
Dirso12-Sep-08 0:11
Dirso12-Sep-08 0:11 
AnswerRe: struct X class Pin
Guffa11-Sep-08 20:52
Guffa11-Sep-08 20:52 
GeneralRe: struct X class Pin
Dirso12-Sep-08 0:13
Dirso12-Sep-08 0:13 
GeneralRe: struct X class Pin
Guffa12-Sep-08 2:32
Guffa12-Sep-08 2:32 
Questionwhich database is installed on every computer Pin
Deresen11-Sep-08 12:03
Deresen11-Sep-08 12:03 
AnswerRe: which database is installed on every computer Pin
Pete O'Hanlon11-Sep-08 12:25
mvePete O'Hanlon11-Sep-08 12:25 
AnswerRe: which database is installed on every computer Pin
Eslam Afifi11-Sep-08 12:35
Eslam Afifi11-Sep-08 12:35 
GeneralRe: which database is installed on every computer Pin
Member 204889411-Sep-08 14:05
Member 204889411-Sep-08 14:05 
AnswerRe: which database is installed on every computer Pin
Paul Conrad11-Sep-08 12:49
professionalPaul Conrad11-Sep-08 12:49 
AnswerRe: which database is installed on every computer Pin
Giorgi Dalakishvili12-Sep-08 0:49
mentorGiorgi Dalakishvili12-Sep-08 0:49 
QuestionOpen Another Application from a Windows Form Pin
polishprogrammer11-Sep-08 11:30
polishprogrammer11-Sep-08 11:30 
AnswerRe: Open Another Application from a Windows Form Pin
Pete O'Hanlon11-Sep-08 11:53
mvePete O'Hanlon11-Sep-08 11:53 
AnswerRe: Open Another Application from a Windows Form Pin
Eslam Afifi11-Sep-08 11:58
Eslam Afifi11-Sep-08 11:58 
QuestionHow do I programatically select a Tab Page? Pin
postonoh11-Sep-08 10:52
postonoh11-Sep-08 10:52 
AnswerRe: How do I programatically select a Tab Page? Pin
Pete O'Hanlon11-Sep-08 11:21
mvePete O'Hanlon11-Sep-08 11:21 
GeneralRe: How do I programatically select a Tab Page? Pin
postonoh11-Sep-08 11:26
postonoh11-Sep-08 11:26 
GeneralRe: How do I programatically select a Tab Page? Pin
Pete O'Hanlon11-Sep-08 11:44
mvePete O'Hanlon11-Sep-08 11:44 

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.