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 the difference between CC and BCC?
What is aspect-oriented programming?
Difference between web user control and web custom control?
what is AutoEventWireUp and what is the use of This property explain in details?
what is mean by framework?
what is state management,what is the purpose of it,how it will be implemented in real time?
Describe how passport authentication works.
What are the different types of Session state management options available with ASP.NET?
Where the viewstate is stored after the page postback?
What r Callbacks in ASP.NET?
accessing a textbox that was created dynamically? for (int i = 0; i < t1; i++) { TextBox t2 = new TextBox(); t2.ID = "adf" + i; PlaceHolder1.Controls.Add(t2); } accessing data entered in the above created controls.
What is HTTPModule and HTTPcontext? What is the use of each?
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)