Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How do you specify a custom attribute for the entire assembly?

Answer Posted / Sunil Saini

In C#, you can specify a custom attribute for an entire assembly by applying it to the assembly level declaration in your code. The attribute is placed within square brackets immediately following the 'assembly' keyword. For example: n```csharpn[assembly: MyCustomAttribute()]n```

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an abstract class c#?

955


How to assign Null value to Var?

1053


How do you inherit a class into other class in c#?

983


Why can't we use a static class instead of singleton?

947


What is expression tree in c#?

990


Which namespaces are necessary to create a localized application?

1134