ArgumentNullException in Build and create the skillset in azure search
This is the link which I am following ([https://video2.skills-academy.com/en-us/azure/search/cognitive-search-tutorial-blob-dotnet#build-and-create-the-skillset][1])
I am implementing console application for azure search. when my code is run it is stopped at the below mentioned object creation
SearchIndexerSkillset skillset = new SearchIndexerSkillset("demoskillset", skills)
{
Description = "Demo skillset",
CognitiveServicesAccount = new CognitiveServicesAccountKey(cognitiveServicesKey)
};
its says ArgumentNullException
I checked constructor of SearchIndexerSkillset class but it has only definition, no method body, is it the problem for this error ?
or is there any issue please help me !