This is a PnP.Pwershell command
(Get-PnPListItem -List Content -Fields "Title","ctmImage","ctmAbstract","ctmActive","ctmContent","ctmCategory").FieldValues
I am using Microsoft.SharePoint.Client and PnP.Framework assembly and writing a console app and using app only auth access with client id and client secret
How do I write the above command in C#? I am trying to read the list items