Click here to Skip to main content
15,888,521 members
Home / Discussions / C#
   

C#

 
GeneralConsole Application Pin
mil_an13-Mar-04 3:58
mil_an13-Mar-04 3:58 
GeneralRe: Console Application Pin
John Fisher13-Mar-04 4:26
John Fisher13-Mar-04 4:26 
GeneralRe: Console Application Pin
mil_an13-Mar-04 10:24
mil_an13-Mar-04 10:24 
GeneralRe: Console Application Pin
Nick Parker13-Mar-04 10:45
protectorNick Parker13-Mar-04 10:45 
GeneralRe: Console Application Pin
mil_an13-Mar-04 8:12
mil_an13-Mar-04 8:12 
GeneralRe: Console Application Pin
CWIZO13-Mar-04 8:28
CWIZO13-Mar-04 8:28 
GeneralRe: Console Application Pin
oOomen13-Mar-04 22:11
oOomen13-Mar-04 22:11 
QuestionHow can a class call one of its own accessors? Pin
Adrian Stanley13-Mar-04 3:57
Adrian Stanley13-Mar-04 3:57 
Is it possible for a class to call one of its own get/set accessors?

For example:

public class MyClass
{
    double m_dbl;
    public MyClass(double dbl) 
    {
        m_dbl = dbl;
        // Call DummyProperty set here?
    }
    public int DummyProperty
    {
        get
        {
            return (int)m_dbl;
        }
        set
        {
            m_dbl = (double)value;
        }
    }
}

AnswerRe: How can a class call one of its own accessors? Pin
John Fisher13-Mar-04 4:20
John Fisher13-Mar-04 4:20 
AnswerRe: How can a class call one of its own accessors? Pin
Jeff Varszegi13-Mar-04 16:15
professionalJeff Varszegi13-Mar-04 16:15 
AnswerRe: How can a class call one of its own accessors? Pin
Michael Flanakin17-Mar-04 19:19
Michael Flanakin17-Mar-04 19:19 
GeneralDataGrid Sorting Pin
jazzle13-Mar-04 3:37
jazzle13-Mar-04 3:37 
GeneralRe: DataGrid Sorting Pin
Mazdak13-Mar-04 9:40
Mazdak13-Mar-04 9:40 
GeneralRe: DataGrid Sorting Pin
jazzle13-Mar-04 10:42
jazzle13-Mar-04 10:42 
GeneralRe: DataGrid Sorting Pin
Mazdak13-Mar-04 18:30
Mazdak13-Mar-04 18:30 
GeneralRe: DataGrid Sorting Pin
jazzle14-Mar-04 1:41
jazzle14-Mar-04 1:41 
GeneralRe: DataGrid Sorting Pin
jazzle14-Mar-04 9:52
jazzle14-Mar-04 9:52 
GeneralRe: DataGrid Sorting Pin
Mazdak14-Mar-04 9:57
Mazdak14-Mar-04 9:57 
GeneralRe: DataGrid Sorting Pin
jazzle14-Mar-04 10:07
jazzle14-Mar-04 10:07 
Generalhelp me Pin
vatavua13-Mar-04 3:21
vatavua13-Mar-04 3:21 
GeneralRe: help me Pin
Dave Kreskowiak13-Mar-04 4:26
mveDave Kreskowiak13-Mar-04 4:26 
GeneralRe: help me Pin
Corinna John13-Mar-04 8:18
Corinna John13-Mar-04 8:18 
GeneralRender child controls into memory dc Pin
Mathew Hall13-Mar-04 2:18
Mathew Hall13-Mar-04 2:18 
GeneralBit to Byte and base type size in C# Pin
Tristan Rhodes13-Mar-04 1:25
Tristan Rhodes13-Mar-04 1:25 
GeneralRe: Bit to Byte and base type size in C# Pin
leppie13-Mar-04 3:06
leppie13-Mar-04 3:06 

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.