[✅SOLVED✅] C# square brackets before struct definitions? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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 }

7th Jan 2018, 6:00 PM
LunarCoffee
LunarCoffee - avatar
0 Answers