Write To ReadOnly You can write to readonly variables in .NET using Reflection. Open in VS 2017 and run.