In digital design, or technology Give 2 examples of en-dashes and 2 examples of em-dashes.

En-dashes Examples:

1. Used to indicate a range of values, such as dates (e.g. June–August 2020)
2. Used to indicate a connection between two things (e.g. New York–London flight)

Em-dashes Examples:
1. Used to indicate an interruption in a sentence (e.g. I was going to the store—but then I changed my mind)
2. Used to indicate an abrupt change in thought (e.g. I wanted to go to the store—but then I remembered I had no money)