We need you!

We're working hard on the next version of Developer Fusion. Let us know what you think we should be up to!

Members

Technology Zones

Articles

Hosted By

MaximumASP

Info

[1676] Namespaces and the Base Classes

Last post 06-06-2008 4:50 PM by cdm. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 01-01-1999 12:00 AM

    [1676] Namespaces and the Base Classes

    This thread is for discussions of Namespaces and the Base Classes.

    • Post Points: 0
  • 11-13-2002 4:43 AM In reply to

    • mitzvah
    • Not Ranked
    • Joined on 11-13-2002
    • New Member
    • Points 5

    Mistakes?

    After spend a whole afternoon testing code in this article( they didn't work), I found this in msdn:
    All methods of the Directory class are static and can therefore be called without having an instance of a directory. The DirectoryInfo class contains only instance methods. The static methods of the Directory class perform a security check on all methods. If you are going to reuse an object several times, consider using the corresponding instance method of DirectoryInfo instead, because the security check will not always be necessary.

    You need to replace all "File" with "FileInfo" and "Directory" with "DirectoryInfo" in this article!!!

    • Post Points: 0
  • 06-04-2003 9:08 AM In reply to

    • amaretto
    • Not Ranked
    • Joined on 06-03-2003
    • New Member
    • Points 25

    MSMQ TriggerEvents C#

    I'm struggeling with the implementation of simple asynchroneous receive in C# :
    aQueue.enableNotification(eventObject, ref cursor, ref timeout)

    cursor and timeout are values (int) that can be retrieved from an enumeration
    but it won't compile ...

    Has anyone a codesnippet in C# that works ?

    Documentation of MMSS is always in C++

    Thanks in advance
    • Post Points: 0
  • 06-06-2008 4:50 PM In reply to

    • cdm
    • Not Ranked
    • Joined on 06-06-2008
    • United States
    • New Member
    • Points 0

    Re: [1676] Namespaces and the Base Classes

    Are you kidding? System.IO.File and System.IO.Directory are static classes. They can't be instantiated. Did any of the authors or editors bother running this code to see if it would work?

    • Post Points: 0
Page 1 of 1 (4 items)