MCQOPTIONS
Saved Bookmarks
| 1. |
Which of the following is correct ways of applying an attribute? |
| A. | <pre><code class="csharp">[WebService (Name = "IndiaBIX", Description = "BIX WebService")] class AuthenticationService: WebService { /* .... */}</code></pre> |
| B. | <pre><code class="csharp"><WebService ( Name : "IndiaBIX", Description : "BIX WebService" )> class AuthenticationService: inherits WebService { /* .... */}</code></pre> |
| C. | <pre><code class="csharp"><WebService ( Name = "IndiaBIX", Description = "BIX WebService" )> class AuthenticationService: extends WebService { /* .... */}</code></pre> |
| D. | <pre><code class="csharp">[WebService ( Name := "IndiaBIX", Description := "BIX WebService")] class AuthenticationService: inherits WebService { /* .... */}</code></pre> |
| Answer» B. <pre><code class="csharp"><WebService ( Name : "IndiaBIX", Description : "BIX WebService" )> class AuthenticationService: inherits WebService { /* .... */}</code></pre> | |