I'm new in using get, set in C#. By declaring as follow it will throw an exception whenever I'm initializing the WPF page. I couldn't figure out what is wrong. Appreciate your help
I'm trying to declare the following function as below:
public DebugProductionWindow()
    {
        //Single window testing
        InitializeComponent();
        GUIParameters localGUIParameters = null;   
        localGUIParameters.mpsManualControl = new MPSManualControl();
     }
public class GUIParameters
{
    public Windows.DebugProduction.MPSManualControl mpsManualControl { get; set; }
}
 
    