← BYTES
C#·Starter·Ref: 22.1.2
What does the static keyword mean when applied to a method?
Have a question about this video? Mention reference 22.1.2 when you contact us.
a.The method runs only once ever
b.The method cannot be overridden
c.The method belongs to the class itself, not to any instance
d.The method is thread-safe automatically
A static method is called on the type itself (e.g. Math.Sqrt), not on an instance, and cannot access instance (non-static) members directly.
Find this on YouTube & Instagram
Every BYTES video is tagged with its reference number and topic — search any of these on YouTube or Instagram to find this one:
#BYTES#BYTES2212#C