Interviews2 answers
C# Interview Questions:-What is MVVM ( Model view view model) Design pattern ?
2 Answers
Model View ViewModel is a software architectural pattern, which we use to achieve a scale-able loosely coupled, maintainable code base. Due to these properties This architecture is preferred for developing WPF applications. Model in this related to the data Object class, View is related to the UI & Viewmodel is the binding code for these two. Viewmodel should be a representation of the View & we use Binding to Pass values from View to VM.
Tijo JoyPosted Apr 28, 2016, 11:43 AM EDT
C# Interview Questions:-What is MVVM ( Model view view model) Design pattern ?
Answers
This is a good c# interview
questions which is asked around design pattern.
MVVM is a UI design pattern. The main use of this pattern to remove UI cluttered
code like bindings , synchronization etc.
In this pattern we create a extra class called as view model or model which acts
as a bridge between model and view. The view sends the actions and data to
the model view class who in turns sends the data to model. Any changes in
the model is replicated or informed to the UI using the INotifyPropertyChanged
interface.
Regards,
View my 21 important
C#
Interview Questions and Answers
Shivprasad KoiralaPosted Mar 5, 2011, 3:07 AM EST