answersLogoWhite

0

What is attribute in csharp?

Updated: 10/24/2022
User Avatar

Wiki User

13y ago

Best Answer

Attribute by itself is a class itself in C#. An instance of this class (or the derived class) may be applied to some elements in the program, at runtime, design time or both.

I also came across some developers using "attribute" to refer to data members!!

So, to get a better answer, perhaps should ask a better/clear-cut question.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is attribute in csharp?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Is overloading supported in csharp?

Yes


How do you use C code in Asp.Net using CSharp. I have code written in C and I want to use it in my ASP.NET application written in CSharp. What are the ways of converting importing using that code?

tretwre


Is array is value type or reference type in CSharp?

refernce type


Which language is more advisable for BE students to learn now either csharp or java?

java


What are the notes to a d major scale?

D, E, Fsharp, G, A, B, Csharp, D


How can you disable a particular part in the source code of CSS?

Put /* block comments */ around it, for example: style { attribute: value; attribute: value; attribute: value; } style { /* attribute: value; */ attribute: value; attribute: value; } or style { /* attribute: value; attribute: value; */ attribute: value; } or /* style { attribute: value; attribute: value; attribute: value; } */ And while this won't validate, attribute renaming uses a lot less typing (and I use it myself): style { xattribute: value; attribute: value; attribute: value; }


What is complex attribute in dbms?

Complex Attribute: A complex attribute is an attribute that is both composite and multivalued.


Write a program to generate uppercase using cSharp?

string s = "asdfqwer"; s = s.ToUpper(System.Globalization.CultureInfo.CurrentCulture);


What notes are in a d harmonic minor scale?

D E F G A Bflat Csharp D


Is strong an attribute?

Strength is an attribute.


Array is value type or reference type in CSharp?

Array is a class name, hence ought to be a value type.


What is public static void main in Csharp?

it is supposed 2 be entry point fr ur prograam to execucation