Profile cover photo
Profile photo
Ferran Garriga Ollé
183 followers
183 followers
About
Posts

Post has shared content

Post has attachment
Add a comment...

Post has attachment
Add a comment...

Post has attachment
mon ton ton 2 - Humans
mon ton ton 2 - Humans
play.google.com
Add a comment...

Post has shared content
This chart is a ranking of the best cities to live in. View top ten in full via: http://econ.st/1uSlU9k
Photo
Add a comment...

Post has shared content
Add a comment...

Post has shared content
Lesson  Class Inheritance

This lesson teaches about C# Inheritance. Our objectives are as follows:

Implement Base Classes.
Implement Derived Classes.
Initialize Base Classes from Derived Classes.
Learn How to Call Base Class Members.
Learn How to Hide Base Class Members.
Inheritance is one of the primary concepts of object-oriented programming. It allows you to reuse existing code. Through effective employment of reuse, you can save time in your programming.

Listing Inheritance: BaseClass.cs

using System;

public class ParentClass //Van Damme
{
    public ParentClass()
    {
        Console.WriteLine("Parent Constructor.");
    }

    public void print()
    {
        Console.WriteLine("I'm a Parent Class.");
    }
}

public class ChildClass : ParentClass
{
    public ChildClass()
    {
        Console.WriteLine("Child Constructor.");
    }

    public static void Main()
    {
        ChildClass child = new ChildClass();

        child.print();
    }
}

Output:

Parent Constructor.
Child Constructor.
I'm a Parent Class.

http://www.csharp-station.com/Tutorial/CSharp/lesson08

Guile vs Dhalsim: Volvo Van Damme Epic splits
Chuck Norris Vs Van Damme - Epic Split (Real or Fake?)
Animated Photo
Add a comment...

Post has attachment
The Base - Paul Banks
The Base - Paul Banks
play.google.com
Add a comment...

Post has attachment
Add a comment...

Post has attachment
I Miss You - Ta-ku
I Miss You - Ta-ku
play.google.com
Add a comment...
Wait while more posts are being loaded