This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
in my code for a server, in one of the classes i must store 5 details, one of them is the no. of messages on a topic. in order to increment this by one everytime a new message is posted i have the following code, it compiles fine but as i am only starting this project can anybody tell me if this looks to have any problems: