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

C#

 
GeneralRe: how to write regular expression for this code? Pin
BillWoodruff15-Sep-11 21:43
professionalBillWoodruff15-Sep-11 21:43 
GeneralRe: how to write regular expression for this code? Pin
SRKSHOME15-Sep-11 20:21
SRKSHOME15-Sep-11 20:21 
GeneralRe: how to write regular expression for this code? Pin
Pete O'Hanlon15-Sep-11 20:32
mvePete O'Hanlon15-Sep-11 20:32 
GeneralRe: how to write regular expression for this code? Pin
SRKSHOME15-Sep-11 21:03
SRKSHOME15-Sep-11 21:03 
AnswerRe: how to write regular expression for this code? Pin
Luc Pattyn15-Sep-11 10:41
sitebuilderLuc Pattyn15-Sep-11 10:41 
GeneralRe: how to write regular expression for this code? Pin
PIEBALDconsult15-Sep-11 14:44
mvePIEBALDconsult15-Sep-11 14:44 
AnswerRe: how to write regular expression for this code? Pin
Luc Pattyn15-Sep-11 14:47
sitebuilderLuc Pattyn15-Sep-11 14:47 
QuestionDifference Between _number and number Pin
eddieangel15-Sep-11 6:11
eddieangel15-Sep-11 6:11 
I have a partial class that extends my property class, which is a table provided by the entity framework. I am extending that class to supply a string that contains a full address from address parts (number, street name, etc...)

It looks like this, in brief:

public partial class Property
    {
        public string fullAddress
        {
            get
            {
                string address = this.number.ToString();
                if (!string.IsNullOrEmpty(this.direction))
                {
                    address += " " + this.direction;
                }
                return address;
            }
        }
    }


When I type this. Intellisense gives me the option to use direction or _direction. What is the difference and which should I use for getting?

I know I have read this somewhere before but it has slipped my mind.

Cheers, --EA
AnswerRe: Difference Between _number and number Pin
BillWoodruff15-Sep-11 7:08
professionalBillWoodruff15-Sep-11 7:08 
GeneralRe: Difference Between _number and number Pin
eddieangel15-Sep-11 7:10
eddieangel15-Sep-11 7:10 
GeneralRe: Difference Between _number and number Pin
BillWoodruff15-Sep-11 7:40
professionalBillWoodruff15-Sep-11 7:40 
GeneralRe: Difference Between _number and number Pin
eddieangel15-Sep-11 7:46
eddieangel15-Sep-11 7:46 
GeneralRe: Difference Between _number and number Pin
BillWoodruff15-Sep-11 7:58
professionalBillWoodruff15-Sep-11 7:58 
GeneralRe: Difference Between _number and number Pin
eddieangel15-Sep-11 8:00
eddieangel15-Sep-11 8:00 
QuestionDLL native win32 variables lifetime? Pin
skaboFer15-Sep-11 3:39
skaboFer15-Sep-11 3:39 
AnswerRe: DLL native win32 variables lifetime? Crosspost Pin
Richard MacCutchan15-Sep-11 4:19
mveRichard MacCutchan15-Sep-11 4:19 
GeneralRe: DLL native win32 variables lifetime? Pin
skaboFer15-Sep-11 4:39
skaboFer15-Sep-11 4:39 
GeneralRe: DLL native win32 variables lifetime? Pin
Richard MacCutchan15-Sep-11 5:46
mveRichard MacCutchan15-Sep-11 5:46 
GeneralRe: DLL native win32 variables lifetime? Pin
skaboFer15-Sep-11 5:54
skaboFer15-Sep-11 5:54 
AnswerRe: DLL native win32 variables lifetime? Pin
BobJanova16-Sep-11 3:52
BobJanova16-Sep-11 3:52 
GeneralRe: DLL native win32 variables lifetime? Pin
skaboFer16-Sep-11 4:45
skaboFer16-Sep-11 4:45 
GeneralRe: DLL native win32 variables lifetime? Pin
BobJanova16-Sep-11 5:12
BobJanova16-Sep-11 5:12 
QuestionAdd Control in WPF Window Pin
Anubhava Dimri15-Sep-11 0:20
Anubhava Dimri15-Sep-11 0:20 
AnswerRe: Add Control in WPF Window Pin
Pete O'Hanlon15-Sep-11 0:26
mvePete O'Hanlon15-Sep-11 0:26 
AnswerRe: Add Control in WPF Window Pin
V.15-Sep-11 1:49
professionalV.15-Sep-11 1: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.