C
CSharper
I am creating a MVC pattern code for my project and here is what I am
doing
in the view constructor
presenter = new presenter(){name = "MVC", view = this, age=30};
and int the presnter I have public variables for name, age and
declared the view as interface to interact with the view.
After the initialization, while inside the presenter, when I checked
the passed values and none of them are set and all of them are
assigned to defaults. I am developing it through C#3.0 Frameowrk 3.5
and WinForms. Am I doing something wrong?
doing
in the view constructor
presenter = new presenter(){name = "MVC", view = this, age=30};
and int the presnter I have public variables for name, age and
declared the view as interface to interact with the view.
After the initialization, while inside the presenter, when I checked
the passed values and none of them are set and all of them are
assigned to defaults. I am developing it through C#3.0 Frameowrk 3.5
and WinForms. Am I doing something wrong?