SPGroup UserGroup = OWeb.Groups["User Group Name"];
if (UserGroup.Users.Count > 0)
{
foreach (SPUser User in UserGroup.Users)
{
string UserName=User.LoginName;
}
}
if (UserGroup.Users.Count > 0)
{
foreach (SPUser User in UserGroup.Users)
{
string UserName=User.LoginName;
}
}