Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Post
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
1
Reply
Constants methods
ZanettiEsteban
Feb 17 2005 12:40 PM
1.7k
Reply
In C++ when I need to define a method that not modify variables of the objet I proceed in the following way: class Foo { void m1() const { // ... } }; I cannot do the same in C#. Does anybody know how can I specify constant methods in C#?
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
typed array list
Writing an object?