Suppose in a scenario if we want to display information only
until 4.00 p.m and after that
means after 4.00 p.m if any one tries to access the
information it should give error mesage.
Then how will you write a delegate for this ? Give coding.



Suppose in a scenario if we want to display information only until 4.00 p.m and after that means ..

Answer / hariharadeep

under page load event
string presenttime
presenttime = hrs & ":" & min

If presenttime > "16:00" Then
info.visibel=false
end if

Is This Answer Correct ?    7 Yes 11 No

Post New Answer

More C Sharp Interview Questions

How does aspect oriented programming work?

0 Answers  


What are the advantages of generics in c#?

0 Answers  


hi i m bhawna ,a student of mca want to know about what type of technical question has been asked in an interview of mnc's like HCL,TCS,WIPRO

1 Answers   HCL,


Why abstraction is used in c#?

0 Answers  


What is difference between hashtable and dictionary in c#?

0 Answers  






What is parse method in c#?

0 Answers  


Why do we use interface in c#?

0 Answers  


Define strong name in c#?

0 Answers  


What is unsigned int?

0 Answers  


What do you mean by delegates and explain different types of delegates?

0 Answers  


Why do you need boxing in c#?

0 Answers  


What is ildasm and obfuscator in net?

0 Answers  


Categories