Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
1
Answer
Constants methods
ZanettiEsteban
19y
1.7k
1
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#?
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
typed array list
Writing an object?