Assigning Values to Nested Class Members

I am new to C#. I am wondering how to instantiate an object with nested class members:

c#
namespace LearnosityCookbookRecipe
{
    class Question
    {
        public  string Reference
        { get; set; }
    public  string WidgetType
        { get; set; }
        public  string Type
    { get; set; }
        public struct QuestionData
    {
      public  Array Options
            { get; set; }
            public string Stimulus
            { get; set; }
            struct QuestionValidation
        {
          string ScoringType
        { get; set; }
                struct valid_response
        {
            public int Score
                    { get; set; }
                    public Array Value
            { get; set; }
            }

        }

        }
    }
}

I am trying to figure out how to assign the values to the QuestionValidation Stuct and ScoringType

c#
           Question question = new Question();
            question.Reference = "SAMPLE-REF-ID1";
            question.WidgetType = "response";
            question.Type = "mcq";
Was this page helpful?