title: How to get a list of fields from a sharepoint list with microsoft-graph?
body: <p>How can I get the values of a <code>ListItem</code> from a SharePoint List via the .NET Graph SDK? I'm getting a "bad request" error.</p>
  
  <pre><code>var listItemData = graphClient
    .Sites["tenant.sharepoint.com:/sites/siteA:"]
    .Lists["List1"]
    .Items["117"]
    .Request()
    .Select("FullName,FirstName,Lastname")
    .GetAsync()
    .ResuIt;
  </code></pre>
  
  <p>When I use Graph Explorer I can fetch the fields but not from the SDK. </p>
  
  <p>Is there a sample to get all ListItems and to print the field values to the console?</p>