+ 2
[â SOLVEDâ ] C# square brackets before struct definitions?
I've been looking at some C# code, and sometimes, before structs, there are these square brackets with text (I think they're interfaces). For example: [Serializable] public struct Message { // code }
1 Answer