C# example gives error message

You have to use the AlpacaDataClient class and GetBarSetAsync method. I’ll prepare PR for fixing documentation soon. Sorry for this inconvenience and best regards.