private static Companion_type FindMatchingCompanion(VASTADInLineCreativeCompanionAds companions, Companion_type companion, VASTADWrapperCreativeCompanionAds wrapperCompanions)
        {
            int index = companions.Companion.ToList().IndexOf(companion);

            if (wrapperCompanions.Companion.Length > index)
            {
                return(wrapperCompanions.Companion[index]);
            }
            else
            {
                return(null);
            }
        }
 private static Companion_type FindMatchingCompanion(VASTADInLineCreativeCompanionAds companions, Companion_type companion, VASTADWrapperCreativeCompanionAds wrapperCompanions)
 {
     int index = companions.Companion.ToList().IndexOf(companion);
     if (wrapperCompanions.Companion.Length > index)
         return wrapperCompanions.Companion[index];
     else
         return null;
 }