# Compare annotations The page describes how to compare annotations. GroupDocs.Annotation allows you to compare annotations using the [Equals](https://reference.groupdocs.com/annotation/net/groupdocs.annotation.models.annotationmodels/imageannotation/equals) method or the already implemented [IEquatable](https://docs.microsoft.com/en-us/dotnet/api/system.iequatable-1) interface. The following code snippet shows how to compare annotations: {{< tabs "example1">}} {{< tab "C#" >}} ```csharp using (Annotator annotator = new Annotator("annotated_file.pdf")) { var annotations = annotator.Get(); ImageAnnotation imageAnnotation = new ImageAnnotation { Box = new Rectangle(100, 100, 100, 100), Opacity = 0.7, PageNumber = 0, ImagePath = "www.google.com.ua/images/branding/googlelogo/2x/googlelogo_color_92x30dp.png", Angle = 100 }; foreach (var annotation in annotations) { if (imageAnnotation.Equals(annotation)) { // Do some stuff here... } } } ``` {{< /tab >}} {{< /tabs >}}