2
Reply

C# Interview Questions:-What is MVVM ( Model view view model) Design pattern ?

Shivprasad Koirala

Shivprasad Koirala

Mar 05, 2011
23.9k
0

    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 Joy
    April 28, 2016
    0

    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 Koirala
    March 05, 2011
    0