RSS

Passing Parameters (C#). Job interview tip.

Comments 2/5/2012 3:32:45 AM / Posted by Eugene Martynov in Software Development

In C#, arguments can be passed to parameters either by value or by reference. It seems to be quite simple and I want to review typical questions according the topic.

Tags: c# , job interview

Polymorphism (C#). Job interview tip.

Comments 2/4/2012 11:05:22 AM / Posted by Eugene Martynov in Software Development

I continue the series that explain typical questions on the coder's job interview.

Another primary concept of object-oriented programming is Polymorphism. It allows you to invoke derived class methods through a base class reference during run-time.

When a derived class inherits from a base class, it gains all the methods, fields, properties and events of the base class. To change the data and behavior of a base class, you have two choices: you can replace the base member with a new derived member, or you can override a virtual base member.

Tags: c# , job interview

WPF - MVVM. How to disable button while Relay Command is executing.

Comments 2/4/2012 9:17:45 AM / Posted by Eugene Martynov in Software Development

Imaging the situation when you have time-consuming operation on the MVVM (WPF in my case) application. The goal is to lock the button while the process is in progress.

Tags: WPF , MVVM , RelayCommand

Difference between abstract class and interface. Job interview tip.

Comments 2/4/2012 8:17:59 AM / Posted by Eugene Martynov in Software Development

Difference between abstract class and interface. This is the most popular question on any coder's interview. The answer seems to be so obvious that we do not know what to say - "And what is general between these two?" 

I have found good article about the topic. I want to re-post a nice table from it.

Tags: c# , job interview

Programming Lists using CAML in SharePoint 2010. Create List based on a Content Type.

Comments 11/4/2011 7:25:54 AM / Posted by Eugene Martynov in Software Development

This article describes how to programming lists using CAML in SharePoint 2010. Examples were also taken from PluralSight site.

Creating List based on a Content Type using CAML:

  1. Use the SharePoint project from previous article and add new List Definition from Content Type.
  2. Choose the display name and select the Author content type (from previous article)
  3. ...

Tags: sharepoint 2010

Copyright © 2011 Eugene Martynov, CSS Templates by Inf Design