using System.Runtime.CompilerServices;
public static void Main()
UpdateValue(test) = "John Wick";
[UnsafeAccessor(UnsafeAccessorKind.StaticField, Name = "Value")]
private static extern ref string UpdateValue(Test test);
private static readonly string Value = "John Wayne";
Console.WriteLine(Value);