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

What is append in c#?

0 Answers  


Explain about ODP.net

0 Answers  


Can a method return multiple values in c#?

0 Answers  


What is concrete class in c#?

0 Answers  


how to use caching in our program. why we use it give one example in code

1 Answers  


How to force my .net app to run as administrator on windows 7?

0 Answers  


What is function and method in c#?

0 Answers  


Why is it not a good idea to use empty destructors?

0 Answers  


What is the meaning of MSIL?

0 Answers   TCS,


What are the main reasons to use c# language?

0 Answers  


destructor, Dispose, Finalize - How they relate to each other

1 Answers   Synechron,


Why would you use untrusted verificaion?

1 Answers  


Categories