I can't change this "value" variable from locals or immediate window. Whats wrong? T isn't a int in runtime?
i can't change _value too.I think this is a bug or something?
class Program
{
static void Main(string[] args)
{
Just<int> just = new Just<int>();
just.Try(5);
}
}
class Just<T>
{
private T _value;
public void Try(T value)
{
this._value = value;
}
}
Beside using this, tried to use instance of Just, worked fine
This is a known bug in the expression evaluator. There is a GitHub issue tracking this bug here
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With