public object Clone() { DirectorVideo dirClone = (DirectorVideo)this.MemberwiseClone(); FisierVideo[] nouFis = new FisierVideo[fisiereVideo.Length]; int i = 0; foreach (FisierVideo fis in fisiereVideo) { nouFis[i] = (FisierVideo)fis.Clone(); i++; } dirClone.fisiereVideo = nouFis; return(dirClone); }
public object Clone() { FisierVideo fisClone = (FisierVideo)this.MemberwiseClone(); return(fisClone); }
public int CompareTo(object obj) { FisierVideo fisVid = (FisierVideo)obj; return(denumireFisier.CompareTo(fisVid.denumireFisier)); }