问题
i am developing a program in C# and i need to use the integrated resource file it is .txt file i need to save data to it when a button is pressed , lets say the client will press a button and then a value of "1" is saved in that txt file which is in the program resource files
回答1:
You're totally using resources wrong. That being said, you can change resources (add, delete, or modify) using UpdateResource. I don't know if it's exposed in .NET or if y You have to use PInvoke, however, as it's not exposed in .NET. Here's a post that will demonstrate it's use.
来源:https://stackoverflow.com/questions/6398119/how-to-edit-a-resource-file