Click here to Skip to main content
15,793,018 members
Home / Discussions / C#
   

C#

 
GeneralRe: Making Serial Port Visible Pin
Pete O'Hanlon31-Oct-12 6:02
subeditorPete O'Hanlon31-Oct-12 6:02 
GeneralRe: Making Serial Port Visible Pin
C-P-User-32-Nov-12 7:47
C-P-User-32-Nov-12 7:47 
GeneralRe: Making Serial Port Visible Pin
Big Daddy Farang31-Oct-12 6:38
Big Daddy Farang31-Oct-12 6:38 
GeneralRe: Making Serial Port Visible Pin
C-P-User-331-Oct-12 7:56
C-P-User-331-Oct-12 7:56 
GeneralRe: Making Serial Port Visible Pin
C-P-User-331-Oct-12 8:02
C-P-User-331-Oct-12 8:02 
GeneralRe: Making Serial Port Visible Pin
David Knechtges31-Oct-12 8:16
David Knechtges31-Oct-12 8:16 
GeneralRe: Making Serial Port Visible Pin
C-P-User-331-Oct-12 8:39
C-P-User-331-Oct-12 8:39 
GeneralRe: Making Serial Port Visible Pin
Big Daddy Farang31-Oct-12 9:26
Big Daddy Farang31-Oct-12 9:26 
What you the programmer write is a Class. Form1, Device in my earlier example, etc. are classes. When you "instantiate" an object, it means you are creating an instance of a class.

C#
int count;     // delcare count to be of type int
Device device; // declare device to be of type Device
device = = new Device("COM1");  // instantiate; "device" is now an object

BDF

I often make very large prints from unexposed film, and every one of them turns out to be a picture of myself as I once dreamed I would be.
-- BillWoodruff

GeneralRe: Making Serial Port Visible Pin
C-P-User-32-Nov-12 8:52
C-P-User-32-Nov-12 8:52 
GeneralRe: Making Serial Port Visible Pin
C-P-User-331-Oct-12 9:09
C-P-User-331-Oct-12 9:09 
GeneralRe: Making Serial Port Visible Pin
Big Daddy Farang31-Oct-12 9:37
Big Daddy Farang31-Oct-12 9:37 
GeneralRe: Making Serial Port Visible Pin
C-P-User-331-Oct-12 11:29
C-P-User-331-Oct-12 11:29 
GeneralRe: Making Serial Port Visible Pin
C-P-User-32-Nov-12 7:58
C-P-User-32-Nov-12 7:58 
QuestionC# acess user roles Pin
classy_dog30-Oct-12 10:16
classy_dog30-Oct-12 10:16 
AnswerRe: C# acess user roles Pin
Pete O'Hanlon30-Oct-12 11:29
subeditorPete O'Hanlon30-Oct-12 11:29 
QuestionWPF - beginner Pin
Nitin S30-Oct-12 2:14
professionalNitin S30-Oct-12 2:14 
AnswerRe: WPF - beginner Pin
V.30-Oct-12 2:22
professionalV.30-Oct-12 2:22 
AnswerRe: WPF - beginner Pin
Abhinav S30-Oct-12 7:31
Abhinav S30-Oct-12 7:31 
Question"Attempted to read or write protected memory." why am i getting this exception. Pin
Member 943048330-Oct-12 1:37
Member 943048330-Oct-12 1:37 
AnswerRe: "Attempted to read or write protected memory." why am i getting this exception. Pin
Richard MacCutchan30-Oct-12 1:49
mveRichard MacCutchan30-Oct-12 1:49 
AnswerRe: "Attempted to read or write protected memory." why am i getting this exception. Pin
David Knechtges30-Oct-12 3:59
David Knechtges30-Oct-12 3:59 
QuestionDrag and drop from windows form to explorer Pin
Somnath T Avhad30-Oct-12 1:04
Somnath T Avhad30-Oct-12 1:04 
AnswerRe: Drag and drop from windows form to explorer Pin
Ingo30-Oct-12 1:15
Ingo30-Oct-12 1:15 
QuestionDrag and drop from windows from to Explorer Pin
Somnath T Avhad30-Oct-12 1:01
Somnath T Avhad30-Oct-12 1:01 
AnswerRe: Drag and drop from windows from to Explorer Pin
Ingo30-Oct-12 1:11
Ingo30-Oct-12 1:11 

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.