1. "want the program to modify it when event occurs" once an exe is created you can not modify it.
Solution:
you can store this value in an external file [app.config \ settings] and modify it when ever you want.
2. "So
when this file coped to another PC , It can reads the new string value"
What i am understanding is that you want every copy of your application to have a unique value for
VersionOfGame ? (Please explain)
Please mark those posts as answer which answers your question. Faraz