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


Please Help Members By Posting Answers For Below Questions

What is public, private, protected, internal and internal protected?

738


What is default constructor c#?

752


what are nullable types in c#

766


Are c# strings immutable?

701


What are the generation of Garbage Collection in C# .NET ?

764


Does constructor return any value in c#?

730


How many bits is int32?

734


Can you declare a field readonly?

734


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?

688


Is it true that all c# types derive from a common base class?

777


Explain the three test cases in unit testing?

810


what is IComparable

790


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.

2156


What is marshalling and what are different kinds of marshalling?

714


What is the difference between continue and break statement?

777