title: View Binding gives a message but everything works
body: <p><a href="https://i.stack.imgur.com/xySgH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xySgH.png" alt="enter image description here" /></a></p>
  <p>I got a problem it says System.Object but when I run the program , everything is as it should be with a good view</p>
  <pre class="lang-xml prettyprint-override"><code>&lt;Window.DataContext&gt;
      &lt;viewModel:MainViewModel/&gt;
  &lt;/Window.DataContext&gt;
  </code></pre>
  <pre class="lang-cs prettyprint-override"><code>public class MainViewModel :ObservableObject
  {
      private object _currentView;
      public HomeViewModel HomeVm { get; set; }
  
      public object CurrentView
      {
          get { return _currentView; }
          set
          {
              _currentView = value;
              OnPropertyChanged();
          }
      }
      
      public MainViewModel()
      {
          HomeVm = new HomeViewModel();
          CurrentView = HomeVm;
      }
  }
  </code></pre>