Relative Content

Tag Archive for c#asynchronousmvvmtaskref

Ref parameters and async task

First of all, I understand that the ref, in and out parameters are forbidden in asynchronous tasks.
However, as I have this need, I’m trying to find the cleanest, simplest and most effective solution.
And unintentionally I’ve created a case that seems to work (I realised later). But I need your help to better understand why this case works as opposed to a simple string.
I’m in C# / WPF and I’m trying to apply the MVVM pattern.