Click here to Skip to main content
15,899,679 members
Home / Discussions / C#
   

C#

 
GeneralRe: Drag outlook contacts into my app Pin
NewbieDude16-Mar-06 0:05
NewbieDude16-Mar-06 0:05 
Questiondatabase Pin
fmardani15-Mar-06 22:28
fmardani15-Mar-06 22:28 
AnswerRe: database Pin
J4amieC15-Mar-06 22:36
J4amieC15-Mar-06 22:36 
Questiondatagridview cells Pin
CandyMe15-Mar-06 21:32
CandyMe15-Mar-06 21:32 
AnswerRe: datagridview cells Pin
Bobby88716-Mar-06 12:03
Bobby88716-Mar-06 12:03 
GeneralRe: datagridview cells Pin
CandyMe16-Mar-06 22:31
CandyMe16-Mar-06 22:31 
QuestionImport outlook contacts Pin
NewbieDude15-Mar-06 21:21
NewbieDude15-Mar-06 21:21 
QuestionC++ guy missing pointers Pin
BadKarma15-Mar-06 21:20
BadKarma15-Mar-06 21:20 
Hi,

I have a problem in C#, which in C++ i would solve within seconds using pointers/references Smile | :)
But how to solve this in C#

I will try to explain my problem with an example:
I have two classes Data & Formatter
public class Data
{
  public string strText;
  Formatter formatProtocol;
  public Data()
  {
    formatProtocol = new Formatter();
  }
}

public class Formatter
{
  public Formatter() {}

  void FormatNow()
  {
    //
    //  I need to format the parent object strText member
    //
  }
}


How do I let the Formatter change the strText member ???
How should i solve this if it wasn't a string but a ValueType ?

codito ergo sum

-- modified at 4:02 Thursday 16th March, 2006
AnswerRe: C++ guy missing pointers Pin
V.15-Mar-06 21:52
professionalV.15-Mar-06 21:52 
GeneralRe: C++ guy missing pointers Pin
BadKarma15-Mar-06 21:59
BadKarma15-Mar-06 21:59 
GeneralRe: C++ guy missing pointers Pin
V.15-Mar-06 22:14
professionalV.15-Mar-06 22:14 
GeneralRe: C++ guy missing pointers Pin
BadKarma15-Mar-06 23:27
BadKarma15-Mar-06 23:27 
AnswerRe: C++ guy missing pointers Pin
J4amieC15-Mar-06 22:26
J4amieC15-Mar-06 22:26 
GeneralRe: C++ guy missing pointers Pin
BadKarma15-Mar-06 23:13
BadKarma15-Mar-06 23:13 
GeneralRe: C++ guy missing pointers Pin
J4amieC15-Mar-06 23:42
J4amieC15-Mar-06 23:42 
AnswerRe: C++ guy missing pointers Pin
mcljava17-Mar-06 5:03
mcljava17-Mar-06 5:03 
QuestionWhy is my inherited window forms control deleted Pin
Tony_Joh15-Mar-06 21:15
Tony_Joh15-Mar-06 21:15 
QuestionDataSet Problem Pin
Ali Zubairy15-Mar-06 18:58
Ali Zubairy15-Mar-06 18:58 
QuestionIP ADDRESS - Problem Pin
Jijo BP15-Mar-06 18:27
Jijo BP15-Mar-06 18:27 
AnswerRe: IP ADDRESS - Problem Pin
Guffa15-Mar-06 18:36
Guffa15-Mar-06 18:36 
GeneralRe: IP ADDRESS - Problem Pin
Jijo BP15-Mar-06 19:29
Jijo BP15-Mar-06 19:29 
QuestionHow to use IPersistStreamInit? Pin
zhaoyu16215-Mar-06 18:06
zhaoyu16215-Mar-06 18:06 
QuestionReg Nullable.Wrap function Pin
Kiran Kumar Singani15-Mar-06 17:39
Kiran Kumar Singani15-Mar-06 17:39 
QuestionCan not use RightClick/Past when i catch Keys in TextBox? Pin
superdragon15-Mar-06 17:23
superdragon15-Mar-06 17:23 
AnswerRe: Can not use RightClick/Past when i catch Keys in TextBox? Pin
superdragon15-Mar-06 19:21
superdragon15-Mar-06 19:21 

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.