Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
Explain Attributes in C#?
Home
C Sharp
Explain Attributes in C#?
0
votes
asked
Oct 18, 2019
in
C Sharp
by
Robin
Explain Attributes in C#?
explain-attributes
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Oct 18, 2019
by
rajeshsharma
Attributes are used to convey the info for runtime about the behavior of elements like – “methods”, “classes”, “enums” etc.
Attributes can be used to add metadata like – comments, classes, compiler instruction etc.
Related questions
0
votes
Q: List out the pre defined attributes in C#?
asked
Oct 18, 2019
in
C Sharp
by
Robin
attributes-in-c#
+1
vote
Q: Explain Reflection in C#.
asked
Apr 9, 2020
in
C Sharp
by
GeorgeBell
#c#
#csharp
0
votes
Q: Explain the features of C#?
asked
Feb 18, 2020
in
C Sharp
by
rahuljain1
#c-sharp-features
0
votes
Q: Explain difference between "continue" and "break" statements in C#?
asked
Feb 16, 2020
in
C Sharp
by
rahuljain1
#c#-continue
0
votes
Q: Explain the methods and properties of Thread class in C#?
asked
Oct 18, 2019
in
C Sharp
by
Robin
thread-class
0
votes
Q: Explain Indexers in C#?
asked
Oct 18, 2019
in
C Sharp
by
Robin
indexers-in-c#
0
votes
Q: Explain Static constructor in C#?
asked
Oct 18, 2019
in
C Sharp
by
Robin
static-constructor
0
votes
Q: Explain Copy constructor in C#?
asked
Oct 18, 2019
in
C Sharp
by
Robin
copy-constructor
0
votes
Q: Explain Anonymous type in C#?
asked
Oct 18, 2019
in
C Sharp
by
Robin
anonymous-type
0
votes
Q: Explain Partial Class in C#?
asked
Oct 18, 2019
in
C Sharp
by
Robin
explain-partial-class
...