1031

What is static class?

Static Class: A static class is a collection of unrelated methods like utility/helper classes. Hence, it is not related to the real-world object. you can not create an object of it. If the “Static” modifier is used to define a static class along with class name which makes class non-instantiable. If the static modifier is used […]

Read More
1025

What is partial classes and methods?

Partial classes: This feature enables you to split the definition of a class over multiple physical source files with a .cs extension. Each source file contains a section of the type or method definition, and all source files are combined as a single file when the application is compiled. The partial modifier can be applied to a […]

Read More