Could please translate the script below to crm 2011
I'm new to CRM 2011
if (entity.Properties.Contains("new_accountid"))
{
Lookup AccountId = (Lookup)entity.Properties["new_accountid"];
Account_name = GetAccount(AccountId.Value.ToString());
}
hussain