Chethan Jk

Chethan Jk

  • 2.1k
  • 25
  • 843

C# Attributes

Jun 28 2022 6:06 PM

Hello, I just started  learning C# attributes, some times it be like this [xyz] and sometimes [xyz(a)] and sometimes like [xyz = bla bla bla]

What is it? Why am I seeing it everywhere but yet there is no much explanation about it in the internet?

like is it some kind of constructions to the compiler? or is it some utility helpers? or does it automate something in the code, I am just completely lost

Answers (1)