A resource dictionary is a repository for XAML resources that your application uses, such as styles. You define resources in XAML and retrieve it using two markup extensions. Static and Theme resource. You can also retrieve it using a code.

BY Best Interview Question ON 04 Nov 2020