HOW TO WRITE VALUES OF VARIABLES IN RUNTIME WITH ADDIN?

HOW TO WRITE VALUES OF VARIABLES IN RUNTIME WITH ADDIN?

Hello, I need to read and write several plc variables simultaneously in c# with addin, but I couldn't find an example of how to do it. I was investigating onlinecontainer, however there are only examples of reading 1 variable through events. I would like you to guide me on how to solve my problem.