The Correct Way To Apply The Custom Attribute Called Employer #532
The correct way to apply the custom attribute called Employer which receives two arguments – name of the employee and employeeid is?
This multiple choice question (MCQ) is related to the book/course
gs gs108 CSharp.
It can also be found in
gs gs108 Console I/O Operations and Stream Classes - Attributes - Quiz No.1.
The correct way to apply the custom attribute called Employer which receives two arguments – name of the employee and employeeid is?
Custom attribute can be applied to an assembly
[assembly : Employer(“Ankit”,employeeid.one)]
[ Employer("Ankit", employeeid.second)] class employee { }
All of the mentioned