Click here to Skip to main content
15,898,134 members
Home / Discussions / C#
   

C#

 
GeneralRe: Repositioning the cursor Pin
Som Shekhar30-Mar-10 20:44
Som Shekhar30-Mar-10 20:44 
Questioncustom control properties Pin
xilefxilef30-Mar-10 10:13
xilefxilef30-Mar-10 10:13 
AnswerRe: custom control properties Pin
Paw Jershauge30-Mar-10 12:52
Paw Jershauge30-Mar-10 12:52 
GeneralRe: custom control properties Pin
xilefxilef30-Mar-10 13:18
xilefxilef30-Mar-10 13:18 
AnswerRe: custom control properties Pin
Paw Jershauge30-Mar-10 13:31
Paw Jershauge30-Mar-10 13:31 
GeneralRe: custom control properties Pin
yu-jian1-Apr-10 17:04
yu-jian1-Apr-10 17:04 
QuestionQuestion about the Type object Pin
Richard Blythe30-Mar-10 8:22
Richard Blythe30-Mar-10 8:22 
AnswerRe: Question about the Type object Pin
OriginalGriff30-Mar-10 8:29
mveOriginalGriff30-Mar-10 8:29 
AFAIK there is no "Type" object - instead every object has a type, which defines what properties and methods the object has. As such, a "Type object" has no specific size - it depends on what kind of object it is!
As for the "how fast is "is", why would it matter - how would your code work if you didn't check what type you are receiving, unless it is a single type of object? I.e. if your code is similar to a click event
void ClickIt(object sender, EventArgs e)
then you have to use either
if (sender is MyClass)...
or
MyClass mine = sender as MyClass
in order to use the parameter.
You should never use standby on an elephant. It always crashes when you lift the ears. - Mark Wallace

C/C++ (I dont see a huge difference between them, and the 'benefits' of C++ are questionable, who needs inheritance when you have copy and paste) - fat_boy

GeneralRe: Question about the Type object Pin
PIEBALDconsult30-Mar-10 9:14
mvePIEBALDconsult30-Mar-10 9:14 
GeneralRe: Question about the Type object Pin
OriginalGriff30-Mar-10 9:22
mveOriginalGriff30-Mar-10 9:22 
GeneralRe: Question about the Type object Pin
PIEBALDconsult30-Mar-10 9:41
mvePIEBALDconsult30-Mar-10 9:41 
AnswerRe: Question about the Type object Pin
Luc Pattyn30-Mar-10 9:00
sitebuilderLuc Pattyn30-Mar-10 9:00 
GeneralRe: Question about the Type object Pin
PIEBALDconsult30-Mar-10 9:17
mvePIEBALDconsult30-Mar-10 9:17 
GeneralRe: Question about the Type object Pin
Richard Blythe30-Mar-10 9:23
Richard Blythe30-Mar-10 9:23 
GeneralRe: Question about the Type object Pin
Luc Pattyn30-Mar-10 9:28
sitebuilderLuc Pattyn30-Mar-10 9:28 
GeneralRe: Question about the Type object Pin
Richard Blythe30-Mar-10 9:33
Richard Blythe30-Mar-10 9:33 
GeneralRe: Question about the Type object Pin
Luc Pattyn30-Mar-10 9:35
sitebuilderLuc Pattyn30-Mar-10 9:35 
AnswerRe: Question about the Type object [modified] Pin
PIEBALDconsult30-Mar-10 9:02
mvePIEBALDconsult30-Mar-10 9:02 
QuestionHow to create a line shapefile Pin
v17.poornima30-Mar-10 6:40
v17.poornima30-Mar-10 6:40 
AnswerRe: How to create a line shapefile Pin
Richard MacCutchan30-Mar-10 9:32
mveRichard MacCutchan30-Mar-10 9:32 
GeneralRe: How to create a line shapefile Pin
v17.poornima31-Mar-10 3:24
v17.poornima31-Mar-10 3:24 
GeneralRe: How to create a line shapefile Pin
Richard MacCutchan31-Mar-10 3:37
mveRichard MacCutchan31-Mar-10 3:37 
QuestionTo draw on map control Pin
v17.poornima30-Mar-10 6:37
v17.poornima30-Mar-10 6:37 
AnswerRe: To draw on map control Pin
OriginalGriff30-Mar-10 8:22
mveOriginalGriff30-Mar-10 8:22 
GeneralRe: To draw on map control Pin
v17.poornima31-Mar-10 3:23
v17.poornima31-Mar-10 3:23 

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.