Results 1 to 10 of 10

Thread: [Resolved] - Constness in C# like C++

Threaded View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    May 2001
    Location
    Montréal, Québec
    Posts
    195

    [Resolved] - Constness in C# like C++

    Hi

    I've read that the modifier const in C# is not possible. Does someone have a workaround / different implementation to have this sort of features.

    I'm writing a Dll in C# and I would like to be able to certify that my functions / methods are read-only has it would be in C++ with the const modifier.

    Thks

    Ps: what's a "Mort" i've read it a few time and I don't know what that mean? (It should be something around different programmers style I guess)
    Last edited by Megistal; Nov 3rd, 2005 at 06:42 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width