Go to DotNetFunda.com
 Online : 648 |  Welcome, Guest!   Login
 
Home > Interview Questions > C# Interview Questions > what is Static? ... ...

call for mock interview


C# Interview Questions


what is Static?

Author: Syedshakeer | Posted on: 2/20/2009 8:41:57 AM | Category: C# | Views:718 |  Print | Asked In: Many Interviews



Answer:
Static:
1)A Static memberdata or a memberfunction can be called without the help of an object.
2)Static members can be called with the help of Classname.

Syntax: classname.staticmember
3)'this ' keyword cannot be used inside a static memberfunction
4)Nonstatic members cannot be used inside a static memberfunction

Found interesting? Add this to:

| More


Navigate to:

 Submit Interview Questions

An automatic commit ocurrs under the following circumstances ...

Class A { static byte a; static short b; static char c; static ...

Random Interview Questions
Help: If for some reason you are getting the same question by clicking Next Question or Previous Question, Try clicking Categories link above.

Related interview questions

More ...


Advertisement

About Us | The Team | Advertise | Contact Us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you found plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 9/3/2010 3:52:05 AM