Introduction Of PHP
PHP refer as Hypertext Preprocessor is server side script language like ASP,JSP. Its scripts executes on server. PHP is open source software. The goal of PHP language is to allow web developers to write dynamically generated pages quickly.Reply
Polymorphism in VB.net
Poly means many and morph means form. Thus, polymorphism refers to being able to use many forms of a type without regard to the details.
Creating Polymorphic Types
For creating polymorphism there are two steps
Create a base class with virtual methods.
Create derived classes that override the behavior of the base class’s virtual methods.
Types of Inheritance
In Object Oriented Programming concept there are 3 types of inheritances.
Inheritance in VB.net
In VB.Net, the specialization relationship is generally implemented by using inheritance. Inheritance is also provides the reusability, or we can say that extracts some features from one class to another class.Reply
Concrete Collection Classes
ArrayList class: This works by maintaining an internal array of objects that is replaced with a larger array when it reaches its capacity of elements.
BitArray class: It is a dynamically sized array of Boolean values. It is more memory-efficient than a simple array of bools because it uses only one bit for each value.
Hashtable class : A Hashtable is a standard dictionary (key/value) data structure that uses a hashing algorithm to store and index values efficiently.
Queue class : A Queue is a standard first-in, first-out (FIFO) data structure, providing simple operations to enqueue, dequeue, peek, etc.
SortedList class :A SortedList is a standard dictionary data structure that uses a binary-chop search to index efficiently.
Stack class : A Stack is a standard last-in first-out (LIFO) data structure.
StringCollection class: A StringCollection is a standard collection data structure for storing strings.Reply
Array and Collections
An array is the collection of similar type of objects. Array in VB.net is different for the array of C++ and other languages because they are objects.
datatype [ ] array-name;
System.Collections.Queue Both are derived from ICollection Interface.
The collections that inherit the IDictionary interface include: System.Collections.SortedList
The if Statement
The switch Statement
The while Loop
The do-while Loop
.Net Frameworks Architecture
.Net is not an Operating System. It is a IDE. It provides some functionality for the programmers to build their solution in the most constructive and intellegent way ever. Just to tell you the truth, most of the codes in .Net environment resembles with the JAVA coding as if some people coming from Java would find it as to their native language. Reply
Disadvantage of VB .Net
Cannot handle pointers directly
Large Talent Pool
Intermediate Language (IL) compilation
Just-In-Time (JIT) compiler
Advantage of VB .Net
VB.NET provides managed code execution that runs under the Common Language Runtime (CLR), resulting in robust, stable and secure applications. All features of the .NET framework are readily available in VB.NET
VB.NET uses XML to transfer data between the various layers in the DNA Architecture i.e
data are passed as simple text strings.
Powerful Windows-based Applications.
Building Web-based Applications.
Powerful, Flexible, Simplified Data Access.
Direct Access to the Platform.
Full Object-Oriented Constructs.
XML Web Services.
Reuse Existing Investments.