| Other C Sharp Interview Questions |
| |
| Question |
Asked @ |
Answers |
| |
| what is the real use of interface in c#,other than that
multiple inheritance is not possible |
| 7 |
| what is used ref keyword in c#,and how we used it? |
| 1 |
| 1.write a program in C# to find a given point which is
inside in a circle. Given circle's radius and its center
point?
2.Write a program in C# to generated 20 prime numbers
greater than a given number? (It should be more efficient
for large numbers also)
3. Write a Code to check whether a given point is inside a
circle or not? given Circle's raduis and its center point.
4. using oops concept, design an elevator do not forget
buttons on each floor..
|
| 2 |
| what r arraylist?
what the use of Hashtables? |
| 4 |
| Can you prevent your class from being inherited and becoming
a base class for some other classes? |
Mind-Tree | 2 |
| Hi to everybody. Lastweek i had taken an interview on c#.
They ask what is boxing & unboxing, Masking.Please tell the
answer and it is useful for me. |
| 7 |
| What is the Use Of Interfaces?
For example I have a interface as shown below?
Interface IMyInterface
{
public void MyMethod();
}
class MyClass : IMyInterface
{
public void Mymethod()
{
Some Code
}
}
class Program
{
static void Main(string[] args)
{
MyClass obj = new MyClass();
obj.MyMethod();
}
}
Here What is My Question is?
If i remove Interface and run this code, it will executed then what is the Use
of the interface? Can any one give me the solution for this Problem?
Thanks in Advance! |
HCL | 1 |
| Which CSS property can be used for controlling the
stretchiness of a control? |
TCS | 1 |
| What is Nullable Type in c# |
IBM | 5 |
| What?s the difference between <c> and <code> XML
documentation tag? |
| 1 |
| What is ENUM? |
Wipro | 8 |
| What is the Difference between imperative and interrogative
code? |
Wipro | 2 |
| |
| For more C Sharp Interview Questions Click Here |