I know that each file has metadata like title, subject, keywords and comments:
But what if I need custom metadata like tags for example?
Is it possible to do it with C#?
I know that each file has metadata like title, subject, keywords and comments
That is not true. Most file types do not have a 'standard' form of metadata.
In particular, PDF files don't have properties that Windows Explorer recognizes.
Metadata (file attributes) is not a function of the filesystem.