Click here to Skip to main content
15,885,309 members
Home / Discussions / C#
   

C#

 
QuestionSQL Data Pin
Saiyed Alam30-Jul-07 8:30
Saiyed Alam30-Jul-07 8:30 
AnswerRe: SQL Data Pin
BoneSoft30-Jul-07 9:55
BoneSoft30-Jul-07 9:55 
QuestionTab Order Pin
Saiyed Alam30-Jul-07 8:08
Saiyed Alam30-Jul-07 8:08 
AnswerRe: Tab Order Pin
Martin#30-Jul-07 8:09
Martin#30-Jul-07 8:09 
GeneralRe: Tab Order Pin
Saiyed Alam30-Jul-07 8:15
Saiyed Alam30-Jul-07 8:15 
AnswerRe: Tab Order Pin
Luis Alonso Ramos30-Jul-07 8:44
Luis Alonso Ramos30-Jul-07 8:44 
AnswerRe: Tab Order Pin
Paul Conrad30-Jul-07 10:44
professionalPaul Conrad30-Jul-07 10:44 
QuestionReference as a 'pointer' to a value type Pin
kildareflare30-Jul-07 7:37
kildareflare30-Jul-07 7:37 
Hello, im a C# newbie and im having trouble with the transition from C.
In particular with using references in place of pointers.
I have a book called Professional C# but it does not seem to cover what I want to know. Namely, I want to assign a reference to a bool value type, such that I can use it to change the value; or so that I can pass the memory location as a parameter to a method, such that the method will be working on the value the reference points to.

My current understanding is that:

<br />
//creates bool value type and assigns value<br />
     bool symbol = true;	<br />
//creates reference to bool type<br />
     bool pointer;		<br />
<br />
     pointer = symbol;	//assign reference to symbol?




Thanks
Rich
AnswerRe: Reference as a 'pointer' to a value type Pin
Bert delaVega30-Jul-07 8:02
Bert delaVega30-Jul-07 8:02 
AnswerRe: Reference as a 'pointer' to a value type Pin
Luc Pattyn30-Jul-07 8:15
sitebuilderLuc Pattyn30-Jul-07 8:15 
GeneralRe: Reference as a 'pointer' to a value type [modified] Pin
kildareflare30-Jul-07 9:09
kildareflare30-Jul-07 9:09 
GeneralRe: Reference as a 'pointer' to a value type Pin
Luc Pattyn30-Jul-07 9:12
sitebuilderLuc Pattyn30-Jul-07 9:12 
GeneralRe: Reference as a 'pointer' to a value type Pin
kildareflare30-Jul-07 9:17
kildareflare30-Jul-07 9:17 
GeneralRe: Reference as a 'pointer' to a value type Pin
Cfer8330-Jul-07 9:37
Cfer8330-Jul-07 9:37 
QuestionCheckSignature of SignedXml returns false Pin
amit_k_gupta30-Jul-07 7:37
amit_k_gupta30-Jul-07 7:37 
QuestionXML serialization - Class and Property [modified] Pin
User 665830-Jul-07 7:25
User 665830-Jul-07 7:25 
AnswerRe: XML serialization - Class and Property Pin
Martin#30-Jul-07 8:02
Martin#30-Jul-07 8:02 
GeneralRe: XML serialization - Class and Property Pin
User 665830-Jul-07 8:44
User 665830-Jul-07 8:44 
AnswerRe: XML serialization - Class and Property Pin
BoneSoft30-Jul-07 9:20
BoneSoft30-Jul-07 9:20 
QuestionForm Designer and Dispose() Pin
PhilDanger30-Jul-07 7:14
PhilDanger30-Jul-07 7:14 
QuestionHow Do I Define String Length? Pin
JamesBarnes30-Jul-07 7:05
JamesBarnes30-Jul-07 7:05 
AnswerRe: How Do I Define String Length? Pin
Judah Gabriel Himango30-Jul-07 7:09
sponsorJudah Gabriel Himango30-Jul-07 7:09 
GeneralRe: How Do I Define String Length? Pin
JamesBarnes30-Jul-07 7:18
JamesBarnes30-Jul-07 7:18 
GeneralRe: How Do I Define String Length? Pin
PIEBALDconsult30-Jul-07 10:49
mvePIEBALDconsult30-Jul-07 10:49 
Questionlayouting a hidden control Pin
burn_hh30-Jul-07 6:49
burn_hh30-Jul-07 6:49 

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.