| Other C Sharp Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| int i = 1;
int j = 1;
System.Console.WriteLine(i == j);
System.Console.WriteLine(i.ToString() == j.ToString());
System.Console.WriteLine((object)i == (object)j);
Give the sample code above, what is the output to the console?
| | 3 |
| What?s a satellite assembly? | | 1 |
| How many catch blocks can be there for a single try block? | HCL | 2 |
| can we assign null value to value type in c#? | Microsoft | 10 |
| An Array is a Ref Type? what about the array elements which
are value type(int,Float...etc)? | | 5 |
| Can we have the method in drived class with the same name
which is there in base class? | TCS | 6 |
| What?s a satellite assembly? | | 2 |
| what is bubbled event ? give suitable example in code vice
with demo | | 1 |
| what are wrapper classes? | | 1 |
| What?s an abstract class? | | 4 |
| How?s method overriding different from overloading? | Visual-Soft | 2 |
| Difference between string and stringbuilder? | HCL | 2 |
| how to use caching in our program. why we use it give one
example in code | | 1 |
| why c# is pronounced as C-sharp instead of pronouncing it as
C-hash? is there any technical reason behind it? | | 2 |
| syntax for writing private method in a interface | Wipro | 7 |
| What is a HashCode? | | 1 |
| What?s the advantage of using System.Text.StringBuilder over
System.String? | | 1 |
| What are the ways to deploy an assembly? | | 2 |
| hi
In my database i put id column as identity(the database is
incremented by it self only)what i want is if i enter a data
in my website, id will come automatically can u pl z tell me
the code
thax in advance
| | 1 |
| How to throw an caught exception from cath block? | TCS | 3 |
| |
| For more C Sharp Interview Questions Click Here |