how to query for Marketing List Members for dynamic list in dynamic crm through c#

how to query for Marketing List Members for dynamic list in dynamic crm through c#
Hello,
This is a well supported scenarion via the CRM API.
A dynamic marketing lists queries the members with a mechanic called FetchXML (see here). You can load the query attribute from the lists entity in CRM using C# and the API. Then you run the FetchXML query against the entity of the lists member type.
There are lots of examples shown in various blogs on that topic.