I started using the new tuple function in C # 7.0, but I noticed that neither the function that returns the tuple nor its caller can check the values of variables in debug mode. Instead, an exception is thrown:
$exception error CS8182: Predefined type 'ValueTuple`2' must be a struct.
Is there any way to get rid of this crash and debugging normally?


source
share