will this code works fine? or will it gives error? Object
obj=5; int i=6; i=i+obj;
Answer / alb.shah
can not applied this because i is value type and obj is
reference type so this will create error
//u can do this
Object obj = 5;
int i = 6;
i = i + Convert.ToInt32(obj);
| Is This Answer Correct ? | 15 Yes | 2 No |
What is Boxing and Unboxing?
7 Answers Accenture, IBM, Tech Mahindra,
Are cookies stored on server or client?
Can you explain the basic use of dataview?
How do you validate the controls in an ASP .NET page?
How u refer webservices?
What is the relationship(in oops) between codebehind and inline code(.aspx to .aspx.cs)??? explain
ASP.NET uses event driven programming model.Justify.
What is css in asp.net?
Explain the difference between asp.net mvc and asp.net webforms? : asp.net mvc
Explain what is the procedure to create the environment for asp.net? : asp.net mvc
Describe the role of inetinfo.exe, aspnet_isapi.dll and aspnet_wp.exe in the page loading process
1 Answers HCL, Siebel Systems, Visual Soft,
Explain program to call the js function when the change is being made in the dropdown list made in asp.net mvc? : asp.net mvc
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)