Dot Net TechnologyTU Board 2022
What are different type of delegate in C ? Write a C Program to create a class 'Time' which represents time. The class should have three fields for hours, minutes and seconds. It should have…
10What are different type of delegate in C#? Write a C# Program to create a class 'Time' which represents time. The class should have three fields for hours, minutes and seconds. It should have constructor to initialize hours, minutes and seconds and method Time() to print current time. overload following operators a) +(Add two time objects of 24 hours clock) b) Compare two time objects
A worked answer is on its wayMeanwhile, read the Dot Net Technology notes for this topic.
Discussion
Loading…
More Dot Net Technology questions
What are services provided by CLR? Write a C program to implement any four method of Console class. [2+3]TU Board 20255What is thread? Write a C program to create multiple thread along with main Thread.TU Board 20255Explain the difference between static and instance constructors with suitable example. [5]TU Board 20255What is difference between SDI and MDI application? How form inheritance can be performed in windows application?TU Board 20255What is compile time polymorphism? Write a C program to implement method overloading concept by computing area of square and circle. [1+4]TU Board 20255What is disconnected architecture in ADO.NET? How ADO.NET differs from classical ADO?TU Board 20255