int i,string s, String s1 Which is valuetype which is
refrence type.
Answer Posted / geetanjali
int i is value type
strings,s1 are refrence type
Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
What is public, private, protected, internal and internal protected?
What is default constructor c#?
what are nullable types in c#
Are c# strings immutable?
What are the generation of Garbage Collection in C# .NET ?
Does constructor return any value in c#?
How many bits is int32?
Can you declare a field readonly?
In the page load event I assigned dropdownlist’s datasource property to a valid list. On the submit button click.. The same datasource property is coming as null. Why?
Is it true that all c# types derive from a common base class?
Explain the three test cases in unit testing?
what is IComparable
Write a console application and implement the ternary operator to decide whether the age a user entered after being prompted is allowed to vote or not(given that only citizens between 18 and 120 years only inclusive can vote). Use exception handling for non-numerical input.
What is marshalling and what are different kinds of marshalling?
What is the difference between continue and break statement?