Welcome, Guest Ohm namah shivoy
www.faqpanel.com
Home | ASP.Net | C-Sharp | Winforms | MS SQL | AJAX | XML | .Net Training*** | Search
Invite friends 
Extras 
VS Tips & Tricks
Top 10 .Net Tools
Special folders in ASP.Net
VS Find Combobox
 C-Sharp Interview Questions and Answers / FAQs
How do I get application full path & .exe?
Try this:
string path = System.Reflection.Assembly.GetExecutingAssembly().Location.ToString();

It will return the full path and the name of the executable.

To get only the full path, you can use:
string pathOnly = Application.StartupPath.ToString();

What is the "Reflection"?
Reflection is a generic term that describes the ability to inspect and dmanipulate program elements at runtime. For example, reflection allows you to:

1. Enumrate the members of a type
2. Instantiate a new object
3. Execute the member of an object
4. Find out the information about a type
5. Find out the information about a assembly
6. Inspect the custom attributes applies to a type.
7. Create and compile new assembly

What is a pre-requisite for connection pooling?
Multiple processes must agree that they will share the same connection, where every parameter is the same, including the security settings.
Can you change the value of a variable while debugging a C# application?
Yes, if you are debugging via Visual Studio.NET, just go to Immediate window.
What are three test cases you should go through in unit testing?
Positive test cases (correct data, correct output), negative test cases (broken or missing data, proper handling), exception test cases (exceptions are thrown and caught properly).
Displaying page 1 of 2NextLast
In how many ways you can compare two strings in C# using overloaded methods and operators?
What is the static class?
What is the "Reflection"?
Can I use DirectX in C#?
What are the characteristics of C#?
What is Namespace?
What is difference between the System.Array.CopyTo() and System.Array.Clone()?
What is Shadowing in C#?
Why strings are called Immutable data Type?
What is encapsulation?