Загрузка...

C# Static method and Static class #Csharp

In this vedio I try to solve the basic concept about static method and static class , deafferents between them .

In C# you can create a static class using the static keyword. A static class can only contain static data members and static methods. It is not permitted to create an object of a static class, and since object creation is not allowed, it follows that instance constructors are not allowed.

A static class always contains static methods, which are declared with the static keyword: these methods have access only to static data members, not to non-static data members.
#staticmethod #staticclass #csharp #staticmethodandclassincsharp #staticclasscsharp #csharp #programmingcsharp #csharpmethod #method #field #statickeyword #csharplanguage #csharptutorial #csharpinbangla #csharpprogramming #dotnet #csharp #coding #programming #programminginbangla #methodincsharpe #methodwithparameter #returntypemethod
#learncsharpbangla #csharpbasic #csharpbasicconcept

Видео C# Static method and Static class #Csharp канала Mumu
Яндекс.Метрика

На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.

Об использовании CookiesПринять