Click here to Skip to main content
13,252,065 members (50,851 online)
   

C#

 
GeneralRe: How do I transfer files over a local network? Pin
Henry Minute22-Dec-10 11:34
mvpHenry Minute22-Dec-10 11:34 
GeneralRe: How do I transfer files over a local network? Pin
Luc Pattyn22-Dec-10 11:34
mvpLuc Pattyn22-Dec-10 11:34 
GeneralRe: How do I transfer files over a local network? Pin
Keith Barrow22-Dec-10 11:38
memberKeith Barrow22-Dec-10 11:38 
GeneralRe: How do I transfer files over a local network? Pin
Marcus Kramer22-Dec-10 11:41
memberMarcus Kramer22-Dec-10 11:41 
GeneralRe: How do I transfer files over a local network? Pin
Pete O'Hanlon22-Dec-10 11:46
mvpPete O'Hanlon22-Dec-10 11:46 
GeneralRe: How do I transfer files over a local network? Pin
Richard MacCutchan22-Dec-10 12:18
mvpRichard MacCutchan22-Dec-10 12:18 
GeneralRe: How do I transfer files over a local network? Pin
d@nish 22-Dec-10 21:24
mvp d@nish 22-Dec-10 21:24 
GeneralRe: How do I transfer files over a local network? Pin
Richard MacCutchan22-Dec-10 22:59
mvpRichard MacCutchan22-Dec-10 22:59 
GeneralRe: How do I transfer files over a local network? Pin
_Erik_23-Dec-10 4:32
member_Erik_23-Dec-10 4:32 
AnswerRe: How do I transfer files over a local network? Pin
jschell23-Dec-10 8:08
memberjschell23-Dec-10 8:08 
QuestionASP.NET C# set GridView Column htmlencode to false from C# Pin
al3xutzu0021-Dec-10 10:29
memberal3xutzu0021-Dec-10 10:29 
QuestionEnumeration as Indexer: Is C# not the strongly-typed? Pin
Paul Selormey16-Dec-10 21:07
memberPaul Selormey16-Dec-10 21:07 
AnswerRe: Enumeration as Indexer: Is C# not the strongly-typed? Pin
harold aptroot16-Dec-10 22:58
memberharold aptroot16-Dec-10 22:58 
GeneralRe: Enumeration as Indexer: Is C# not the strongly-typed? Pin
Paul Selormey17-Dec-10 0:40
memberPaul Selormey17-Dec-10 0:40 
harold aptroot wrote:
0 is always legal when an enum is expected


I think that explains the issue, since the output of the ff. are the same: ItemC.
(NOTE: reversed the content)
static void Main(string[] args)
{
    AFormatCollection collFormats = new AFormatCollection();
    collFormats.Add(new AFormat(AFormatType.ItemD));
    collFormats.Add(new AFormat(AFormatType.ItemC));
    collFormats.Add(new AFormat(AFormatType.ItemA));
    collFormats.Add(new AFormat(AFormatType.ItemB));
 
    testFormat = collFormats[1];
    if (testFormat != null)
    {
        Console.WriteLine(testFormat.FormatType.ToString());
    }
 
    testFormat = collFormats[AFormatType.ItemC];
    if (testFormat != null)
    {
        Console.WriteLine(testFormat.FormatType.ToString());
    }
}


Best regards,
Paul.
Jesus Christ is LOVE! Please tell somebody.

AnswerRe: Enumeration as Indexer: Is C# not the strongly-typed? Pin
Eddy Vluggen16-Dec-10 23:06
mvpEddy Vluggen16-Dec-10 23:06 
GeneralRe: Enumeration as Indexer: Is C# not the strongly-typed? [modified] Pin
Paul Selormey17-Dec-10 0:26
memberPaul Selormey17-Dec-10 0:26 
GeneralRe: Enumeration as Indexer: Is C# not the strongly-typed? Pin
Eddy Vluggen17-Dec-10 1:38
mvpEddy Vluggen17-Dec-10 1:38 
GeneralRe: Enumeration as Indexer: Is C# not the strongly-typed? Pin
Paul Selormey17-Dec-10 1:48
memberPaul Selormey17-Dec-10 1:48 
GeneralRe: Enumeration as Indexer: Is C# not the strongly-typed? Pin
harold aptroot17-Dec-10 2:13
memberharold aptroot17-Dec-10 2:13 
GeneralRe: Enumeration as Indexer: Is C# not the strongly-typed? Pin
Paul Selormey17-Dec-10 2:19
memberPaul Selormey17-Dec-10 2:19 
GeneralRe: Enumeration as Indexer: Is C# not the strongly-typed? Pin
Eddy Vluggen17-Dec-10 2:49
mvpEddy Vluggen17-Dec-10 2:49 
QuestionWhat's the purpose to use Property with set and get to change a field? Pin
nstk16-Dec-10 20:29
membernstk16-Dec-10 20:29 
AnswerRe: What's the purpose to use Property with set and get to change a field? Pin
JF201516-Dec-10 21:02
memberJF201516-Dec-10 21:02 
GeneralRe: What's the purpose to use Property with set and get to change a field? Pin
nstk17-Dec-10 0:01
membernstk17-Dec-10 0:01 
GeneralRe: What's the purpose to use Property with set and get to change a field? Pin
Jeff Connelly17-Dec-10 7:09
memberJeff Connelly17-Dec-10 7:09 
AnswerRe: What's the purpose to use Property with set and get to change a field? Pin
Hiren Solanki17-Dec-10 0:52
memberHiren Solanki17-Dec-10 0:52 
GeneralRe: What's the purpose to use Property with set and get to change a field? Pin
Jeff Connelly17-Dec-10 7:15
memberJeff Connelly17-Dec-10 7:15 
GeneralRe: What's the purpose to use Property with set and get to change a field? Pin
PIEBALDconsult17-Dec-10 8:50
mvpPIEBALDconsult17-Dec-10 8:50 
GeneralRe: What's the purpose to use Property with set and get to change a field? Pin
kevinnicol17-Dec-10 8:53
memberkevinnicol17-Dec-10 8:53 
GeneralRe: What's the purpose to use Property with set and get to change a field? [modified] Pin
Jeff Connelly17-Dec-10 9:21
memberJeff Connelly17-Dec-10 9:21 
GeneralRe: What's the purpose to use Property with set and get to change a field? Pin
kevinnicol17-Dec-10 9:23
memberkevinnicol17-Dec-10 9:23 
GeneralRe: What's the purpose to use Property with set and get to change a field? Pin
Jeff Connelly17-Dec-10 9:39
memberJeff Connelly17-Dec-10 9:39 
GeneralRe: What's the purpose to use Property with set and get to change a field? Pin
kevinnicol17-Dec-10 9:47
memberkevinnicol17-Dec-10 9:47 
GeneralRe: What's the purpose to use Property with set and get to change a field? Pin
Jeff Connelly17-Dec-10 9:50
memberJeff Connelly17-Dec-10 9:50 
GeneralRe: What's the purpose to use Property with set and get to change a field? Pin
Toli Cuturicu17-Dec-10 16:00
memberToli Cuturicu17-Dec-10 16:00 
GeneralRe: What's the purpose to use Property with set and get to change a field? Pin
Jeff Connelly20-Dec-10 5:21
memberJeff Connelly20-Dec-10 5:21 
AnswerRe: What's the purpose to use Property with set and get to change a field? Pin
PIEBALDconsult17-Dec-10 3:28
mvpPIEBALDconsult17-Dec-10 3:28 
AnswerRe: What's the purpose to use Property with set and get to change a field? Pin
Jeff Connelly17-Dec-10 7:03
memberJeff Connelly17-Dec-10 7:03 
QuestionHow can I start with C/S programming? [modified] Pin
zouleisheng16-Dec-10 20:09
memberzouleisheng16-Dec-10 20:09 
AnswerRe: How can I start with C/S programming? Pin
Richard MacCutchan16-Dec-10 23:52
mvpRichard MacCutchan16-Dec-10 23:52 
GeneralRe: How can I start with C/S programming? Pin
zouleisheng17-Dec-10 0:52
memberzouleisheng17-Dec-10 0:52 
GeneralRe: How can I start with C/S programming? Pin
Richard MacCutchan17-Dec-10 2:34
mvpRichard MacCutchan17-Dec-10 2:34 
AnswerRe: How can I start with C/S programming? Pin
Jeff Connelly17-Dec-10 7:18
memberJeff Connelly17-Dec-10 7:18 
GeneralRe: How can I start with C/S programming? Pin
zouleisheng19-Dec-10 6:51
memberzouleisheng19-Dec-10 6:51 
GeneralRe: How can I start with C/S programming? Pin
Jeff Connelly20-Dec-10 5:26
memberJeff Connelly20-Dec-10 5:26 
GeneralRe: How can I start with C/S programming? Pin
zouleisheng21-Dec-10 2:26
memberzouleisheng21-Dec-10 2:26 
Questionsample digital signage Pin
mukesh.mr0316-Dec-10 19:19
membermukesh.mr0316-Dec-10 19:19 
AnswerRe: sample digital signage Pin
Mycroft Holmes16-Dec-10 22:09
mvpMycroft Holmes16-Dec-10 22:09 
GeneralRe: sample digital signage Pin
mukesh.mr0316-Dec-10 23:27
membermukesh.mr0316-Dec-10 23:27 
QuestionTrying to create a new array Pin
turbosupramk316-Dec-10 15:46
memberturbosupramk316-Dec-10 15:46 

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.


Advertise | Privacy |
Web04 | 2.8.171114.1 | Last Updated 20 Nov 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid