Today at an event in Hollywood, Microsoft unveiled Surface: PCs built to be the ultimate stage for Windows. Company executives showed two Windows tablets and accessories that feature significant advances in industrial design and attention to detail. Surface is designed to seamlessly transition between consumption and creation, without compromise. It delivers the power of amazing software with Windows and the feel of premium hardware in one exciting experience.
What is Static keyword in C# “Static” keyword can be used for declaring a static member . The keyword Static can be applied to the Classes, field, method, properties, operator, event and constructors. Methods and variable which we use as static doesn't need an instance to be created of a class. Example of static keyword class testclass { public static int statint; public static void squareroot(); } we can call the above static method and variable without creating the instance of the class How to call a static method testclass.squareroot(); apart from this the static method can use only the static variables of same class.
Comments
Post a Comment