.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Introduction to Object Oriented Programming Concepts (OOP) and More

Posted By: Pravin     Posted Date: March 05, 2012    Points: 2   Category :OOPS
This article helps to understand the OOP concepts focusing on .Net/ C#. This is written in the form of asking questions and writing answers to them, making it easy to understand.

View Complete Post

More Related Resource Links

Object-Oriented Programming Concepts

This is the first in a series of articles describing the use of object-oriented programming techniques as implemented by the C# programming language. This series follows the C# Fundamentals tutorial that beginners are advised to read first.

C# Object Oriented Programming

So far in C# Essentials we have looked at the basics of programming in C# such as variable types and flow control. Although it would be possible to write a functional program using these techniques, there is much more to becoming a proficient C# programmer. C# is, above all, an object oriented programming language and as such any C# programmer will be expected to create object-oriented applications using this language.

Object Oriented Programming

Four core concept of OOP Object Oriented Programming. 1.Inheritance, 2.Polymorphism, 3.Abstraction and 4.Encapsulation

F# Basics: An Introduction to Functional Programming for .NET Developers


F# has clean syntax, powerful multi-threading capabilities, and fluid interoperability with other Microsoft .NET Framework languages. We'll give you an introduction to functional programming concepts and how they're implemented in F#.

Chris Marinos

MSDN Magazine April 2010

Toolbox: The Active Record Pattern, Aspect-Oriented Programming


This month we look at implementing the Active Record Pattern in your .NET application and how aspect-oriented programming yields separation of concerns.

Scott Mitchell

MSDN Magazine February 2009

AOP: Aspect-Oriented Programming Enables Better Code Encapsulation and Reuse


Aspect-oriented Programming (AOP), a paradigm invented at Xerox PARC in the 1990s, lets the developer better separate tasks that should not be inextricably tangled, such as mathematical operations and exception handling. The AOP approach has a number of benefits. First, it improves performance because the operations are more succinct. Second, it allows programmers to spend less time rewriting the same code. Overall, AOP enables better encapsulation of distinct procedures and promotes future interoperation.

Dharma Shukla, Simon Fell, and Chris Sells

MSDN Magazine March 2002

How to do programming with SPAudit object

Hello I am using Sharepoint 2010. I have one task list where I am assigning task to Assignee, now I want to monitor following things using SPAudit Object only. 1. Is there any way that I can monitor that assigned person as viwed assigned task or not? 2. I also want to monitor if assigned person update the task status or any other field values. I want to do this using SPaudit object, I know it can be done thru Central Admin - AUdit Log Reports, but I dont want to give access of to each person. I already seen following article, but did not get any good piece of sample code. http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spaudit_methods.aspx In nutshell, I want to trap auditing events for update/delete/view tasks, please advise Avi Kumar

Object Oriented Linq


Hello programmers,

I don't know if this is the right forum to post this in but here it goes anyway...

I am wondering into the unknown field of OOA and was looking for a way to separate my business logic from my UI. A small example is as followed:

Two DropDowns where the second one is depended on the selection in the first DropDown. You have Cars, planes, etc. inm the first DropDown and Toyota, Chrysler, etc in the second (depending on the value in the first DD.

I have som Lin syntax. The file is situated in the App_Code folder and NOT as code behind.

    public class GetProductCategoriesClass

        //Henter data fra databasen og gemmer det som ProductCategory
        public static List<ProductCategory> GetProductCategoriesMethod()
            DataClassesDataContext cate = new DataClassesDataContext();
            return (from p in cate.ProductCategories.ToList<ProductCategory>()
                    select p).ToList<ProductCategory>();


    public class GetProductSubCategoriesClass

        //Henter data fra databasen og gemmer det som ProductSubCategory
        public static List<ProductSubCategory> GetProductSubCategoriesMethod()
            DataClassesDataContext cate = new DataClassesDataContext();
            return (from p in cate.P

is SQL Server support object oriented database developpement?

I have just began learning about object oriented DataBases and I asked whether this paradigm is suported by SQL Server or not?

Thinking about new C# method prototypes: object as dictionary

I recently had to write a small Flickr API. I know many .Net API for Flickr already exist but I needed one for a Silverlight application. Whatever, it's only about building some querystrings so I did it by myself. It's been an opportunity to think again about a classical question: how to pass parameters to a method ?

Imagine you have a generic method to call some Flickr functions.

Coding / Programming Tips for C#

Using proper guidelines and a template-framed style of coding will really helps developer to enjoy the coding with more understandable, reliable code and application development.

Introduction to Functions

A function is a section of code that is used to perform an isolated assignment. Once it has performed its assignment, the function can be accessed to present its result(s).

In Transact-SQL, a function is considered an object. After creating the function object, it becomes part of a database. You can then execute it when necessary.

Multi-threading in .NET: Introduction and suggestions

This article uses the C# type shorthands throughout - int for Int32 etc. I hope this makes it easier for C# developers to read, and won't impede any other developers too much. It also only talks about the C# ways of declaring variables to be volatile and locking monitors. Developers using other languages can find the equivalents in their own preferred environment, I'm sure.

Realizing a Service-Oriented Architecture with .NET

This article is meant to be a practical discussion guide to building a .NET application in a service-oriented architecture. We will consider real-world goals, real-world obstacles, and experience-based solutions. I quickly concede the approaches discussed here are not exhaustive or infallible. This paper is focused on application development, not application integration. We will specifically consider architectural issues and component design issues.

The Potential of Web Services

Overview of SharePoint Object Model

SharePoint offers a set of structured server-side objects those are widely used to program SharePoint Applications. These objects are hierarchically arranged and you can drill down through the object hierarchy to obtain the object that contains the components of SharePoint Application you need to use in your code.

What is the difference between "dynamic" and "object" keywords?

Let's take a quick look at the object keyword first. I'm not going to talk a lot about it because it's been around since C# 1.0. This keyword is nothing more than a shortcut for System.Object, which is the root type in the C# class hierarchy. (However, as Eric Lippert pointed out in his blog post, not everything in C# derives from object.) This is a powerful mechanism, since you can assign almost any value to instances of this type.
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend