Find Users from Active Directory Group

Here is the code to list Users from specific Active Directory (AD) Group.
  1.     var context = new PrincipalContext(ContextType.Domain, "domain");  
  2.     var groupPrincipal = GroupPrincipal.FindByIdentity(context, "ADGroupName");  
  3.     if (groupPrincipal != null)  
  4.     {  
  5.         var listOfUsers = groupPrincipal.GetMembers(true);  
  6.     }  
Happy Coding..