How do you specify a custom attribute for the entire assembly (rather than for a class)?



How do you specify a custom attribute for the entire assembly (rather than for a class)?..

Answer / Shashi Bala

You can use Assembly-level attributes by writing them on the first line of your code file, before any namespaces or types.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

Are private class-level variables inherited?

5 Answers   HCL, Siebel Systems, Visual Soft,


What is difference between value and reference types in C#.NET

1 Answers   BirlaSoft,


What do you know about device context?

1 Answers   C DAC,


Is hashset serializable c#?

1 Answers  


Explain the difference between // comments, /* */ comments and /// comments?

1 Answers  


What is an assembly in dotnet?

1 Answers  


What is access specifier in c#?

1 Answers  


What is a datacontract?

1 Answers  


What?s the .NET datatype that allows the retrieval of data by a unique key?

2 Answers   SmartData,


What is clr namespace?

1 Answers  


Can you create enumerated data types in C# ?

1 Answers  


What is difference between for and foreach loop in c#?

1 Answers   MCN Solutions,


Categories