Question: What does the 'static' keyword indicate about a C# method or property? public class MyClass { public static void StaticMethod ( ) { / /

What does the 'static' keyword indicate about a C# method or property?
public class MyClass {
public static void StaticMethod(){
// Static method implementation
}
}
Group of answer choices
It can be overridden in derived classes.
It is not accessible outside the assembly.
It can be accessed only within the same class.
It can be accessed without creating an instance of the class.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!