What is a resource? Provide an example from your recent
project.

Answer Posted / bipin

Resources are images,files,soundfiles etc.
A resource file is created for different Cultures are
complied into assembly and placed in output Directory
A resource file is an XML file that contains the strings
that you want to translate into different languages or
paths to images.
The resource file contains key/value pairs. Each pair is an
individual resource. Key names are not case sensitive. For
example, a resource file might contain a resource with the
key Button1 and the value Submit.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the advantages of generics in c#?

496


Why do we need dependency injection in c#?

459


Explain why do I get an error (cs1006) when trying to declare a method without specifying a return type?

471


What is difference between arraylist and list in c#?

432


What is xml serializer?

492






What are properties in C#?

540


Explain what is an interface in c#?

519


Are attributes inherited c#?

460


What does using system mean in c#?

492


How do I create multifile assembly?

503


without modifying source code if we compile again, will it be generated MSIL again?

483


Define using statement in c#?

516


What is Wrapper class in dot net?

631


What are the benefits of using generics in c#?

476


C# called c sharp why?

548