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.
Answer Posted / chandu
Boxing:converting from value types to reference type is
known as boxing.
Unboxing:Converting from reference types to value type is
known as unboxing.
boxing ex: int i=1;
obj o=i;
unboxing ex: int i=1;
obj o=i;
int j=int o;
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Is a games console a computer?
Why to use “finally” block in c#?
What is .net c#?
how to print invert pyramid in c#
Can hashset contain duplicates c#?
What do u mean by thread safe?
How to use reflection to call generic method?
Is static class thread safe in c#?
In a C# class we have a SortedList member m_addinProjects
we want to provide an iterator to allow the consumer of
this class access to the items in the collection. Please
provide an iterator method for the AnalyzeAddinsDLL class
below and an example of how it would be used.
namespace AnalyzeAddinsDLL
{
public class AllAddInProjects
{
private SortedList
What is the difference between field and property in c#?
When a switch is said to be congested?
Structs are largely redundant in c++. Why does c# have them?
What is a dbml?
Who benefits from ajax?
What do constructors do in c#?