Question: Which of the following is correct ways of applying an attribute?

Options

A : [WebService (Name = "IndiaBIX" , Description = "BIX WebService" )] class AuthenticationService: WebService { /* .... */ }

B : <WebService ( Name : "IndiaBIX" , Description : "BIX WebService" )> class AuthenticationService: inherits WebService { /* .... */ }

C : <WebService ( Name = "IndiaBIX" , Description = "BIX WebService" )> class AuthenticationService: extends WebService { /* .... */ }

D : [WebService ( Name := "IndiaBIX" , Description := "BIX WebService" )] class AuthenticationService: inherits WebService { /* .... */ }

Click to view Correct Answer

Exam Quiz App on Google Play

Previous || Next

Attributes - General Questions more questions

What will be the output of the C#.NET code snippet....

The [Serializable()] attribute gets inspected at

Which of the following are correct ways to specify the....

Which of the following are correct ways to pass a....

Which of the following statements are correct about inspecting an....

Which of the following forms of applying an attribute is....

Which of the following statements are correct about Attributes in....

Which of the following correctly describes the contents of the....

It possible to create a custom attribute that can be....

Once applied which of the following CANNOT inspect the applied....

Attributes - General Questions more Online Exam Quiz

Strings - General Questions

Classes and Objects - General Questions

Collection Classes - General Questions

Constructors - General Questions

Datatypes - General Questions

Delegates - General Questions