What is a static variable?

Answer Posted / glibwaresoftsolutions

To share a variable or method within a class, use the static keyword. Static variables are those that, once defined, are created and shared by all objects at the class level in a single copy.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different types of a stream?

762


Define clr?

747


Tell me how many .net languages can a single .net dll contain?

731


Name and explain some of the exclusive features which are present in vb?

752


Explain about visual basic.net?

872


What are all the differences between dispose and finalize()?

767


Explain convert.tostrin?

847


Explain option explicit?

777


Write program in VB.Net with SQL Server and Crystal Reports to develop a small windows application to add,edit,save, search and print Employee Information and send sourcecode as zip file. empcode : .............. empname : .............. dateofjoin : dd/mm/yyyy dateofbirth : dd/mm/yyyy TableName: EmpMaster EmpCode EmpName DOB DOJ TableName: EmpDocs EmpCode DocNo DocName ExpDate

2418


What is pre-jit?

729


Explain the difference between system.string and system.stringbuilder classes?

731


Write a program to find all text files in a logical drive and return the count of the number of files?

2502


Explain how can we remove handlers at run time?

738


Which control is an example of an object in vb net?

6701


What is DLL HELL in VB.NET

798