Explain keywords with example, DOT NET Programming

Explain keywords with example.

Keywords are those words that are reserved to be used for an exact task. These words cannot be used as identifiers. You cannot use a keyword to explain the name of a variable or method. Keywords are used in programs to use the features of object-oriented programming.

For instance, the abstract keyword is used to execute abstraction and the inherits keyword is used to execute inheritance by deriving subclasses in C# and Visual Basic, respectively.

The new keyword is universally used in C# and Visual Basic to implement encapsulation by creating objects.

 

Posted Date: 7/3/2013 1:27:15 AM | Location : United States







Related Discussions:- Explain keywords with example, Assignment Help, Ask Question on Explain keywords with example, Get Answer, Expert's Help, Explain keywords with example Discussions

Write discussion on Explain keywords with example
Your posts are moderated
Related Questions
Briefly explain how server form post-back works ?  Post Back: The process in which a Web page sends data back to the similar page on the server. View State : View State i

What are the steps to create a windows service in VB.NET ? The Windows Services are long-running executable applications that run in its own Windows session, which then has the

When we create a private constructor, we can not create object of the class directly from the client. So you will use the private constructors whenever you do not want instances of

What is Multi-tasking? It is a feature of the modern operating system with which we can run multiple programs at the same time for example Word, Excel etc.

Webservices as such do not have any mechanism by which they can maintain their state. The Webservices can access ASP.NET intrinsic objects such as application, session and many mor

Explain the difference between XML and HTML. XML explains data while HTML describes how the data should be displayed. Thus, HTML is about displaying information while XML is ab

Need Data Stream from Laptop to Phone Project Description: I have a notepad file that is automatically generated in a set file name and format by acquisition software and wri

What is the difference between Stored Procedure (SP) and User Defined Function (UDF)? Some of major differences between a stored procedure and user defined are as follows:-

What are shared (VB.NET)/Static(C#) variables? Shared/Static classes are used when a class gives functionality which is not specific to any instance. In brief if you want an ob

Passport authentication A centralized service given by Microsoft, offers a single logon point for clients. Unauthenticated users are redirected to the Passport site