title: Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: 'Unable to execute runtime binding on null reference'
body: <p>I get movie API from OMDB API and I want to assign data in API to strings.</p>
  <p><strong>Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: 'Unable to execute runtime binding on null reference'</strong>
  But I am getting this error. What could be the solution?</p>
  <pre class="lang-cs prettyprint-override"><code>public MainViewModel()
  {
      SearchCommand = new RelayCommand((e) =&gt;
      {
          HttpResponseMessage response = new HttpResponseMessage();
          var name = SearchText;
          response = http.GetAsync($@&quot;http://www.omdbapi.com/?apikey=a91a5037&amp;t={name}&amp;plot=full&quot;).Result;
          var str = response.Content.ReadAsStringAsync().Result;
          Data = JsonConvert.DeserializeObject(str);
          MoviePosterPath = Data.Search[0].Poster; // I'm getting errors here
          MovieTitle = Data.Search[0].Title;
          MovieIMDB = Data.Search[0].imdbRating;
          MovieYear = Data.Search[0].Released;
      });
  } 
  </code></pre>