public static void UsingAnnotatorClass3() { Console.WriteLine("exgetann Using Annotator.IsEof and Annotator.ReadNext method."); var annotator = new Annotator(); annotator.Name = "atr"; annotator.Stat = Stat.Read; annotator.Open("data/100s"); while (!annotator.IsEof) { var annotation = annotator.ReadNext(); Console.WriteLine(annotation); } Console.WriteLine("Seeking to 00:50:00"); annotator.Seek(Time.Parse("00:50:00.000")); while (!annotator.IsEof) { var annotation = annotator.ReadNext(); Console.WriteLine(annotation); } annotator.Dispose(); }