Yes, you can omit the brackets.
[Serializable] [Serializable()] [SerializableAttribute] [SerializableAttribute()]
There are four ways to write the same attribute.
The general practice is to always omit the Attribute part.
Empty () usually omitted, but it really doesn't matter. And, of course, you will need them to set any parameters or properties.
source share