I am new to C#. When I put following code in VS 2017 it shows error message:
Error CS1503 Argument 2: cannot convert from 'int' to 'System.Collections.Generic.IEnumerable<string>'
Error CS1503 Argument 3: cannot convert from 'string' to 'System.Globalization.CultureInfo'
It cannot be the overload issue as Microsoft indeed has the corresponding overload method:
ResourceManagementClient.GetResources Method (String, Int32, IEnumerable<String>)
So it must be something I did not code correctly. Then what is it?
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Lithnet.ResourceManagement.Client;
namespace MIM_Module
{
public class Program
{
static void Attributes(string[] args)
{
ResourceManagementClient MIMClient = new ResourceManagementClient();
SearchResultCollection SrchRslts = MIMClient.GetResources("/BindingDescription[(BoundAttributeType = /Set[ObjectID = '3b953247-93733cf6605f']/ComputedMember)]", 10, "BoundAttributeType");
}
}
```}