Skip to main content

Posts

Showing posts from March, 2017

000webhost.com Tutorials

000webhost.com is the best free web hosting service in the world. This tutorial series will teach you how you can upload your web content to the internet for FREE using 000webhost.com 000webhost Link: https://www.000webhost.com/941674.html

Operator Overloading - C# Intermediate Tutorials

OPERATOR OVERLOADING IN C# INTERMEDIATE TUTORIAL by Chamuth Chamandana What is Operator Overloading ======================= Operator Overloading is one of a way of implementing Polymorphism in C# (OOP Concepts are going to be discussed in a basics video in future). Operator Overloading can be defined as adding operator functionality to custom types. This operators include all of the arithmetic operators, comparison operators, assignment operators and etc. What we're going to talk about in this video ================================== We're going to develop a class known as Number which is really simple and only has an integer (Int32) Property known as value. We're going to add custom operators overloaded to this class, namely ++, --, + and - operators. Let me know what you want to know more about, in the comments section. If you enjoy please Subscribe to my channel and encourage us by liking our videos!!!

Chaining Methods - C# Intermediate Tutorials

CHAINING METHODS IN C# INTERMEDIATE TUTORIAL by Chamuth Chamandana What are Chaining Methods? ======================= Chaining Methods are used in C# in many ways. In extension methods and extension libraries such as LINQ, we use Chaining methods to pass the modified variable to the next method. Example (built-in methods): var result = "Hello World".Replace("World", "Chamuth").ToLower().Substring(5); What we're going to talk about in this video ================================== We're making a class known as StringDeveloper which creates strings from adding other strings which implements Chaining functionality. Which means every method returns itself, the context using return this; statement at the end of the changing of the content of the object which lets us call other functions in the object/class after. Chaining Methods are also available in every other programming language including C, Java, JavaScript and etc. Let me know wha...