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

coding for delegates?

3 Answers   Tech Mahindra,


What does Dispose method do with the connection object?

2 Answers  


Can you store multiple data types in System.Array?

5 Answers  


Oops concepts ?

2 Answers   Accenture, Digital GlobalSoft,


Is overriding of a function possible in the same class?

1 Answers  


What are the different types of assembly?

1 Answers  


What is c# in asp net?

1 Answers  


Can you store different types in an array in c#?

1 Answers  


in the nunit test framework, which attribute must adorn a test class in order for it to be picked up by the nunit gui?

1 Answers   Siebel Systems,


Can we store different data types in arraylist in c#?

1 Answers  


How do you clear a list in c#?

1 Answers  


What is difference between arraylist and list in c#?

1 Answers  


Categories