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 shared assembly?
What is authorization in asp.net?
Explain how can we inherit a static variable?
What is role-based security in asp.net?
What is the difference between response.redirect and server.transfer, how to choose one among the other?
In a Code-Behind class generally which type of code is found ?
Which is the parent class of the ASP.NET server control?
0 Answers Sans Pareil IT Services,
What are the modes of updation in an updatepanel? What are triggers of an updatepanel?
on modify statement, executeNonQuery returns zero rows affected even though there has been modification carried out sucessfully in the table.. can anyone tell me is this possible??? if yes, how..???
What is custom attribute?
Explain the components of web form in asp.net
When would you set this property to false?
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)