Application called an interface that was marshalled for a different thread?
Prefacing that I'm very new to C#: I'm trying to implement a very basic timer but I'm getting an wrong thread error in the event function of
For reference
I feel like I might be doing something wrong from a theoretical point of view with how the eventhandler is defined.
System.Timers.Timer. An image of the error is attached and the code that I'm working with is belowFor reference
TimerDisplay is referring to the label in the xaml I feel like I might be doing something wrong from a theoretical point of view with how the eventhandler is defined.

