Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Write an expression which satisfies the following statements:
(i) Creates an object of type q
(ii) If m is null, returns n, otherwise returns m
(iii) If x and y are string types, it concatenates x and y



Write an expression which satisfies the following statements: (i) Creates an object of type q (i..

Answer / sam

1)q objQ = new q();
2)string result = m??n;
3) if((typeof(string) == x.GetType()) && (typeof(string) == y.GetType() )
{
String.Concat(x,y);
}

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More C Sharp Interview Questions

Can hashtable have duplicate keys?

0 Answers  


Is everything an object c#?

0 Answers  


What is the interface in c#?

0 Answers  


What are functions c#?

0 Answers  


What do you mean by shared assembly?

0 Answers   Accenture,


How do we achieve encapsulation in c#?

0 Answers  


what is a static constructor?

0 Answers  


What are jump statements in c#?

0 Answers  


What is an actual parameter?

0 Answers  


What is strong name assembly?

0 Answers  


What?s the top .NET class that everything is derived from?

7 Answers  


Explain the serialization in .net

0 Answers  


Categories