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

Explain the process of abstraction with an example?

0 Answers  


What is difference between .net and c#?

0 Answers  


What are the types of serialization?

0 Answers  


Why is it not a good idea to use empty destructors?

0 Answers  


How can I produce an assembly?

0 Answers  






Can a loop recorder detect a heart attack?

0 Answers  


What is the difference between int.Parse() and Convert.toInt32().

2 Answers  


What is the advantage of dependency injection?

0 Answers  


How many constructor can a class have?

0 Answers  


What are regular expressions? Search a string using regular expressions?

0 Answers  


When do you absolutely have to declare a class as abstract (as opposed to free-willed educated choice or decision based on UML diagram)?

1 Answers  


Why do we override in c#?

0 Answers  


Categories