What is Custom attribute? How to create? Namespace? If I'm
having custom attribute in an assembly, how to say that name
in the code? What is Reflection in .NET?




Answers were Sorted based on User's Feedback



What is Custom attribute? How to create? Namespace? If I'm having custom attribute in an assem..

Answer / chaitanya

Assemblies date is stored in some pakaged modules.Accessing
that data is called reflection

Is This Answer Correct ?    2 Yes 1 No

What is Custom attribute? How to create? Namespace? If I'm having custom attribute in an assem..

Answer / niveditha

There's a great article over on DevX that covers the Stream
and Formatter architectures. It does so from a VB.NET point
of view, which is fine because the article is attempting to
teach people converting from VB6- to VB.NET to move away
from the proprietary VB file operations. In general, the
article is generic enough that the knowledge is applicable
in all languages and is definitely worth the read.

Is This Answer Correct ?    1 Yes 0 No

What is Custom attribute? How to create? Namespace? If I'm having custom attribute in an assem..

Answer / suresh.gv

Reflection::

It is used to get Class info. at the runtime.
The Class info. defines::
no. of
constructors,methods,isobject,isvalue,issealed,ispublic,....
.

This can be achieve through Reflection.

Is This Answer Correct ?    3 Yes 3 No



Post New Answer



More Dot Net General Interview Questions

What is garbage collection and how it works ?

0 Answers  


what is use of learning .net? does we get good jobs based on .net?

2 Answers  


What is the need of OLE-automation?

0 Answers   CGI,


What is view state?

6 Answers   TCS,


what are the controls used to upload a file from client to server?

4 Answers  






String[] a = new string[10] for(i=0; i<10; i++) { a[i] = i; } How many heap object will be created for this array. Choose the answer below. Ans: 1, 10, 11, 12

6 Answers  


What is MSIL, IL, CTS?

3 Answers  


What is deferred execution vs. Immediate execution in linq?

0 Answers  


Does .net supports destructors concept?

0 Answers  


What is .net environment?

0 Answers  


What is managed code and managed data in .net?

0 Answers  


What is the difference between override and overload in a method?

0 Answers  






Categories