Click here to Skip to main content
15,905,612 members
Home / Discussions / C#
   

C#

 
QuestionC#.net- two ways to access active directory code Pin
dcof1-Sep-11 12:19
dcof1-Sep-11 12:19 
AnswerRe: C#.net- two ways to access active directory code Pin
Dave Kreskowiak1-Sep-11 16:54
mveDave Kreskowiak1-Sep-11 16:54 
GeneralRe: C#.net- two ways to access active directory code Pin
dcof2-Sep-11 4:38
dcof2-Sep-11 4:38 
GeneralRe: C#.net- two ways to access active directory code Pin
Dave Kreskowiak2-Sep-11 11:16
mveDave Kreskowiak2-Sep-11 11:16 
QuestionC#.net error obtained from sql server Pin
dcof1-Sep-11 6:42
dcof1-Sep-11 6:42 
AnswerRe: C#.net error obtained from sql server Pin
Dave Kreskowiak1-Sep-11 7:47
mveDave Kreskowiak1-Sep-11 7:47 
GeneralMessage Removed Pin
1-Sep-11 8:52
dcof1-Sep-11 8:52 
GeneralRe: C#.net error obtained from sql server Pin
#realJSOP1-Sep-11 9:28
professional#realJSOP1-Sep-11 9:28 
AnswerRe: C#.net error obtained from sql server Pin
Luc Pattyn1-Sep-11 7:54
sitebuilderLuc Pattyn1-Sep-11 7:54 
GeneralRe: C#.net error obtained from sql server Pin
dcof1-Sep-11 8:52
dcof1-Sep-11 8:52 
AnswerRe: C#.net error obtained from sql server Pin
#realJSOP1-Sep-11 8:28
professional#realJSOP1-Sep-11 8:28 
Questionretrive data from GridView Pin
jashimu1-Sep-11 5:27
jashimu1-Sep-11 5:27 
AnswerRe: retrive data from GridView Pin
Abhinav S1-Sep-11 6:01
Abhinav S1-Sep-11 6:01 
Questionemail sender program : Unable to connect to the remote server Pin
bigz_100031-Aug-11 23:57
bigz_100031-Aug-11 23:57 
AnswerRe: email sender program : Unable to connect to the remote server Pin
Qendro1-Sep-11 1:29
Qendro1-Sep-11 1:29 
GeneralRe: email sender program : Unable to connect to the remote server Pin
bigz_10001-Sep-11 3:02
bigz_10001-Sep-11 3:02 
AnswerRe: email sender program : Unable to connect to the remote server Pin
Dave Kreskowiak1-Sep-11 3:56
mveDave Kreskowiak1-Sep-11 3:56 
GeneralRe: email sender program : Unable to connect to the remote server Pin
bigz_10001-Sep-11 5:24
bigz_10001-Sep-11 5:24 
QuestionWhat is an Integer Pin
Anubhava Dimri31-Aug-11 18:50
Anubhava Dimri31-Aug-11 18:50 
AnswerRe: What is an Integer Pin
Abhinav S31-Aug-11 19:12
Abhinav S31-Aug-11 19:12 
GeneralRe: What is an Integer Pin
Anubhava Dimri31-Aug-11 20:10
Anubhava Dimri31-Aug-11 20:10 
GeneralRe: What is an Integer PinPopular
Roger Wright31-Aug-11 21:04
professionalRoger Wright31-Aug-11 21:04 
Then why didn't you ask that question to begin with?

A class is a reference type stored in the heap, while a struct is a value type stored in the stack. An int is nominally a value type, but not a struct. Classes also support inheritance; structs do not. While C# recognizes a string type, it is internally converted to a .Net String class. I'm not certain whether this happens with int types, converting to Int classes, but it wouldn't surprise me. Of course, I haven't personally disassembled any code to discover this on my own; I'm paraphrasing from an excellent book, though a bit dated, Professional C# 2005 with .Net 3.0, by Wrox Press. It's an excellent book, though by no means a complete reference, and I'm sure they've updated it since I bought my dogeared copy. Smile | :)
Will Rogers never met me.

GeneralRe: What is an Integer Pin
Pete O'Hanlon31-Aug-11 21:09
mvePete O'Hanlon31-Aug-11 21:09 
GeneralRe: What is an Integer Pin
Roger Wright31-Aug-11 21:27
professionalRoger Wright31-Aug-11 21:27 
GeneralRe: What is an Integer Pin
Anubhava Dimri1-Sep-11 18:24
Anubhava Dimri1-Sep-11 18:24 

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.