What are custom attributes in dotnet? How do I create custom attributes in VB.NET? Also, one of my friend told me that custom attribute can be used for doing simple and more frequent validations. How to do validation using custom attribute?