Facebook Graph Objects Introspection PRO

We can easily get information about the other objects each object on the facebook graph is connected with. Trying to request a URL address with the following pattern filling in the unique ID (of the object we are interested at) will return a JSON file with detailed information about all objects that object (the one […]

Tuples in C# PRO

Tuples were introduced in .NET 4.0. While arrays hold objects of the same type, tuples can hold objects of different types. The eight different generic Tuple classes are available for the purposes of having tuples with diferent number of types. Once a tuple was created the type of its fields cannot be changed. In a […]

The ArraySegment Struct PRO

The ArraySegment struct assists us when working with segments of arrays. Instead of handling the offset and the number of elements separately for each segment we can instantiate the ArraySegment struct and get an object that describes a specific segment. The following video clip explains that. More code samples, slides and video clips about this […]

Installing Tomcat on Your PC PRO</font

I am writing this post for the benefit of my new Java EE students who have no experience with downloading and installing the Tomcat web container. The following video clip includes the detailed instructions you need to follow in order to download and install the Tomcat Java Servlets & JSP container. Once you complete the […]

Installing Glassfish on Your PC PRO

I am writing this post for the benefit of my new Java EE students who have no experience with downloading and installing the Glassfish application server. The following video clip includes the detailed instructions you need to follow in order to download and install the Glassfish application server. Once you complete the download you can […]

Installing JDK on Your PC PRO

I am writing this post for the benefit of my new Java students who have no experience with downloading and installing the JDK. The following video clip includes the detailed instructions you need to follow in order to download and install the JDK. In case that you did not succeed to download and install the […]

The C# Pragma Directive PRO

Using the #paragma directive we can supress warning messages for specific code segments. The following short video clip shows that. One of the scenarios in which this directive can be useful is the case of having multiple warning messages. When their number is small it is easy to track. When there are many of them […]

Covariance and Contravariance in C# 4.0 PRO

Covariance and Contravariance deal with the oredering of types from narrower to wider and their interchangeability or equivalence in specific cases. When a software programming language supports covariance it means that in specific cases (such as function parameters, generics and function returned types) it supports the conversion from a narrower type (e.g. int) to a […]

C# Named Parameters PRO

As of C# 4.0 we can call a function and specify for each and every argument we pass over in our call the parameter it targets. We can take advantage of this capability when dealing with functions that were defined with optional parameters. The following video clip explains this possibility. I have just completed to […]

C# Optional Parameters PRO

As of C# 4.0 we can define a function and set default values for the parameters we choose. Doing so, those parameters become optional ones. When calling the function we don’t have to pass over values to those parameters. The following video clip explains this possibility. I have just completed to update my C# Fundamentals […]

Update cookies preferences