Welcome to AspAdvice Sign in | Join | Help

Orcs Goblins and .NET

I enjoy reading and writing. I hope you enjoy at least the former.

Browse by Tags

All Tags » C#
Generic Recursive Find Control Extension
Earlier today I posted about a Recursive Find Control Extension Method . I was informed recently by Steve Smith that I should check out the generic find control method which Aaron Robson has on his blog . He has some pretty nice methods there, so I just Read More...

by Brendan | 0 Comments

Creating a Recursive FindControl Extension Method
So one of the most useful methods for ASP.NET development that never seems to be included in ASP.NET is a recursive find control method. This problem results from the standard FindControl method on controls only searching within that control. It only Read More...

by Brendan | 0 Comments

C# Generics vs C++ Templates
I regularly meet with a group of my college friends with whom I studied Computer Science. While at a great local bar we have plenty of interesting computer-related conversations. A lot of .NET developers probably spend most of their time discussing technical Read More...

by Brendan | 3 Comments

Filed under: ,

Try Catch Performance in CSharp: A Simple Test Response
I read an interesting little post about a Try Except Performance Test Using Python written by Patrick Altman . As he mentioned, I have also had discussions with people about this exact topic in the past plenty of times. He was testing the performance Read More...

by Brendan | 0 Comments

Filed under: ,

Explicitly and Implicitly Implementing Interfaces
I read an interesting blog post from Joydip Kanjilal where he described an interesting little trick with interfaces . I, being a bit of a fan of interfaces, read the post and thought I'd throw my $0.02 in also. I couldn't pass up an opportunity to talk Read More...

by Brendan | 3 Comments

Filed under: ,

Introduction to Partial Classes
I've recently written a beginner's article explaining what partial classes are and how to use them. My Partial Classes Tutorial walks you through how how partial classes work, how to create partial classes, when one would use partial classes, and a few Read More...

by Brendan | 0 Comments

Filed under: ,

Static Methods and Interfaces in C#
Someone just commented on my C# interfaces article on ASP Alliance asking an interesting question, and I figure I will respond to it here since I can give a better response here. I don't want to clutter the article comments. Also I can add nifty cool Read More...

by Brendan | 3 Comments

Filed under: ,

An Explanation of Interfaces in C# for Beginners
I recently authored an article for ASP Alliance in which I describe the basics of how interfaces work and how to use and create them in C# . I tried not to describe in great detail exactly how everything works, because that will prevent beginners from Read More...

by Brendan | 0 Comments

Filed under: , ,

Knowing the Default Access Modifiers in C#
I have a few friends in college who are learning C# on the side. I've been answering their questions when they ask. One interesting question was regarding access modifiers. I was asked which access modifiers are used by default in certain situations when Read More...

by Brendan | 2 Comments

Filed under: ,

Understanding the Queue Data Structure Using a Simple C# Implementation
Introduction The Queue is a very important and common Data Structure in Computer Science. As the name queue suggests, this data structure can be described with an analogy of waiting in a line. There is no cutting allowed in the line, so the first person Read More...

by Brendan | 2 Comments

Simple C# Stack Implementation
I've just written a quick little stack implementation for use in explaining the stack data structure. It is written in C# and is not exactly a robust solution, but it works well enough. It is stubbed out with the basics of what is required to have a working Read More...

by Brendan | 0 Comments

Understanding the Stack Data Structure
I found myself recently explaining a few times how the data structure commonly called a stack works. The technical term for a stack would be a Last in First out Data Structure (LIFO). To practically repeat myself, this means that the last object to go Read More...

by Brendan | 1 Comments

How to Convert from hex to int
I recently needed to convert hexadecimal numbers into integer numbers. So for your benefit, and for mine when I forget how to do this, I will tell you a couple of ways to convert numbers of these types. Both methods are quite simple and easy to use. string Read More...

by Brendan | 0 Comments

Filed under: ,

Simple Lazy Loading
Lately, I’ve noticed a lot of people who are not careful about how they load objects. Managing objects is a fundamentally important part of software development. Lets say for example I have an integer in the query string, and I need to use this Read More...

by Brendan | 0 Comments