News in the Category: C# Subscribe to the rss of this category.

Total posts: 686

Collection initializer expressions, redux

Panopticon Central, May 14, 2008

WARNING: This is a speculative post. Caveat emptor. When we last left collection initializers, we were discussing default types for collection initializers. Since then we've thought further about the...

CodeSnip: Unexpected behavior with C# auto-implemented properties

ASPAlliance.com - The #1 ASP.NET Community, May 14, 2008

In this code snippet, Joseph examines a scenario of an unexpected behavior which will happen while using C# auto-implemented properties with reflection. After providing a step-by-step description of t...

DotNetNuke 4 C# Compiled Module Starter Kit

BiteTheBullet - Latest 25 Items, May 13, 2008

New version that now supports Visual Studio 2008. Download my DotNetNuke 4.x C# compile module starter kit that allows you to rapidly develop modules using C#  and Visual Studio 2005 or Visua...

Constructors in C#...

DotNetJohn.Com, May 11, 2008

In this article, Joydip examines the usage of constructors with the help of examples....

Understanding Operator Overloading in C#...

DotNetJohn.Com, May 9, 2008

IIn this article Joydip discusses the concept of Operator Overloading in C# with the help of code samples....

My Latest New Books on the Market - Professional C# 2008 and Professional Visual Basic 2008

Bill Evjens Blog, May 2, 2008

Two of my latest books just hit the market - Professional C# 2008 and Professional Visual Basic 2008, both from Wrox. The back cover of the C# book is as follows: Updated for .NET 3.5 and Visua...

Book: Murach's C# Updated for 2008

Joe On .NET, April 30, 2008

sIf you are an avid reader, like I am, then you know that different publishers tend to have different styles and specialties. Murach is unique. They don't publish TONS of books, but the ones t...

Don't miss out on Spec#

ISerializable, April 29, 2008

Hey, you decision makers up there at Microsoft. Maybe you didn't realize this, or maybe you're waiting for the community to let you know. Spec# is one awesome project that needs to become a real produ...

What's up with 'using'?

Simple Talk, April 28, 2008

Let me lay my cards on the table right from the start: I dont like using, and I dont use it any more (no pun intended). In fact I havent for quite some time. In this post Im going to try to explain wh...

Variable Scoping in Anonymous Delegates in C#

Rick Strahls WebLog, April 27, 2008

Every once in a while when I write code that deals with Anonymous Delegates, I still kinda freak out when it comes to the behavior of closures and the variable scoping that goes along with it. For exa...

JSBasic - a BASIC to JavaScript compiler

The Code Project Latest Articles, April 22, 2008

In this C#-project BASIC source code is compiled to JavaScript and run in a browser....

C# Code Completion in emacs - a look at Cedet, semantic, and CSDE

All About Interop, April 21, 2008

In my prior post I wrote that I have a dream of getting c# code completion in emacs. Jason Rumney wrote to me: I think everything you want is here: http://cedet.sourceforge.net/semantic.shtml Semanti...

Monkey Patching CLR Objects

youve been HAACKED, April 18, 2008

In my last post I set the stage for this post by discussing some of my personal opinions around integrating a dynamic language into a .NET application. Using a DSL written in a dynamic language, such ...

MSBuild script for compiling each .cs file into an EXE

All About Interop, April 16, 2008

I previously wrote about using MSBuild to build all .cs files in a directory into a single exe. Here's a companion script that builds every .cs file into a separate exe. This might be helpful for dir...

I have a dream! C# Code Completion in Emacs (csense, dabbrev, etc)

All About Interop, April 15, 2008

No good options here. I know, dabbrev does some neat things. But it pales in comparison to real code completion as you get in Visual Studio, or, I think, even SharpDevelop. I checked out a module ca...

C# snippets for yasnippet.el (Emacs snippets)

All About Interop, April 15, 2008

Some nice person built yasnippet.el, a snippet package for emacs. You type 2 or 3 letters, then hit TAB, and it expands into a snippet.  Like dabbrev, but with forms-based fill-in field...

Getting flymake.el to work with C# modules

All About Interop, April 14, 2008

Emacs, since a while back, ships with a package called flymake.el, that defines a minor mode.  When you enable this mode, flymake more-or-less continuously compiles the module you;re working on, ...

Making Hideshow.el work with Csharp-mode.el and region/endregion

All About Interop, April 14, 2008

The default hideshow.el stuff in emacs doesn't "do" region/endregion, which is commonly seen in C# modules.  Thankfully, the hideshow people thought of this, and made available a customization ...

Encrypting Passwords in a .NET app.config File

JonGalloway.ToString(), April 13, 2008

I've been contributing to the Witty project lately. I'm a fan of Twitter, and it's nice to work on a popular WPF application with some hotshot coders including a WPF pro like Alan Le. Lately, I notice...

Programmers - Start 'em young ?

Joe On .NET, April 11, 2008

Say hello to Alice. [ More info here. ] From their web site...... In Alice's interactive interface, students drag and drop graphic tiles to create a program, where the instructions correspond to st...

Programmers - Start 'em young ?

Joe On .NET, April 11, 2008

Say hello to Alice. [ More info here. ] From their web site...... In Alice's interactive interface, students drag and drop graphic tiles to create a program, where the instructions correspond to st...

JSBasic - a BASIC to JavaScript compiler

The Code Project Latest Articles, April 9, 2008

In this C#-project BASIC source code is compiled to JavaScript and run in a browser....

A bit of trivia

Poupous blog, April 7, 2008

Trivia:How many assemblies, let say from Mono's 2.0 profile, are using the C# lock statement (on anything) ?Before answering let's talk about what else is going on withGendarme ?Dan is back from vacat...

Implicitly implemented interfaces

Panopticon Central, April 7, 2008

WARNING: This is a speculative post. Caveat emptor. This one is a little more speculative than the others, but its something that wed like to get some feedback on. One complaint that we get from time ...

Apples And Oranges

Did it with .NET, April 3, 2008

This recent blog post caused quite a stir on the F# mailing list. The post presents two solutions for Project EulerProblem 14: one in C# and the other in F#. The C# version ...

GHI Electronics Embedded Master Module

Ajax.NET Professional, April 1, 2008

Embedded Master™ implements Microsoft's .NET Micro Framework. This allows users to run C# managed code right inside Embedded Master. Users will use Visual Studio to develop and debug programs. ...

Find Unused SQL 2005 Indexes for Current DB

Steven Smith, March 31, 2008

Gregg Stark sent me a nice query a while back that's a great tool for optimizing indexes (indices) in SQL Server 2005.  Here's the query:SELECT o.name AS object_name, i.name AS index_n...

Don't Believe Everything you Read on Wikipedia, especially about C# Anonymous Functions

All About Interop, March 31, 2008

I was reading Wikipedia the other day, and saw this: C# has partial anonymous function support through the use of delegates. ... Since anonymous methods are not nameless and can only be declared...

Using C# 3.0 extension methods for .NET Framework 2.0 applications

Patrik Löwendahls shout, March 29, 2008

I just posted about how you could use some of the features in C# 3.0 for 2.0 applications (http://www.lowendahl.net/showShout.aspx?id=191) in that post I stated that it wasn't possible to create and c...

KeyedCollection Lambda Expression Way

Vault of Thoughts, March 29, 2008

There is a nice little base class hidden inside System.Collections.ObjectModel namespace. Its name is KeyedCollection. Its there to solve all those situations when we need a collection where items ar...

Automatically implemented properties

Panopticon Central, March 27, 2008

WARNING: This is a speculative post. Caveat emptor. I apologize for the long silence, things have been a little busy around Panopticon Central these days! Anyway, I wanted to go back to talking about ...

Surprise Presentation

Did it with .NET, March 24, 2008

Last month, I was scheduled to speak at the Findlay Area .NET Users Group (FANUG), but the meeting was canceled due to weather. This month, my good friends Jason Follas and Greg Huber were schedu...

C# 3.0 and LINQ

OdeToCode Latest Articles, March 19, 2008

C# 3.0 introduced a number of new features for LINQ. In this article we'll examine the new features like extension methods, lambda expressions, anonymous types, and more....

C# Comments

RegexLib.com - Recent Patterns, March 13, 2008

This regex searches multi-line, single-line, and XML comments present in C# file....

Free DNN Weather Module

BiteTheBullet - Latest 25 Items, March 9, 2008

New Version 1.3 - 9 March 2008. Free DNN module to display weather forecasts for your area, simple configuration. Source code included in C#...

Free DNN Weather Module

BiteTheBullet - Latest 25 Items, March 9, 2008

New Version 1.3 - 9 March 2008. Free DNN module to display weather forecasts for your area, simple configuration. Source code included in C#...

BOOK REVIEW: C# In Depth by Jon Skeet (Manning)

EggHeadCafe.com New Articles, March 5, 2008

Review of Jon Skeet's new book, published by Manning.  read moreBy Peter Bromberg ...

Useful Extension Methods

ASPAlliance.com - The #1 ASP.NET Community, March 4, 2008

In this article, Brian examines extension methods and how they can be used with .NET Framework applications. He beings with a short introduction and then provides a detailed explanation of the applica...

Getting used to write in C# 3.0

Al Pascual, March 3, 2008

Since 3.0 came out I have been writing in 2.0 and others with 3.0, moving back and forward between projects makes you realize the good improvements Microsoft implemented on this version. I spend more ...

New Object Oriented Features in C# 3.0

15Seconds.com Features, February 28, 2008

With the introduction of C# 3.0, Microsoft has released a number of features that greatly enhance the object oriented programming experience for C# developers. These new features enable you to declar...

Graph Library

The Code Project Latest Articles, February 26, 2008

This article addresses the construction of a simple graph library using C#....

.NET Collection Management with C# 3.0

Simple Talk, February 25, 2008

Generics in C#, enable you to define classes, interfaces, delegates or methods with placeholders for parameterized types used within. This allows you to define classes that use a generic type, and def...

Generic C# JSON generator to send any data to Javascript

The Code Project Latest Articles, February 23, 2008

Generic C# JSON generator to send any managed data to Javascript and use the same syntax to access it...

Mocks, Stubs and Fakes: it's a continuum

eXtensible mind, February 21, 2008

Highly recommended reading: Fowler's article Mocks aren't Stubs. Generically called (by Gerard Meszaros's xUnit patterns book) Test Doubles, all three kinds of test aids are intended to replace rea...

Pipelines Using Iterators, Lambda Expressions and Extension Methods in C# 3.0

eXtensible mind, February 21, 2008

Inspired by Pipelines Using Fibers in Ruby 1.9, I set to explore what could be done with C# 3.0 in the same area. I'll also follow that article's overall structure. Building a pipeline is all about ...

Resharper 4.0 EAP: Are you geek enough?

Code Climber, February 15, 2008

Ivan just IM-ed me with a link: http://www.jetbrains.net/confluence/display/ReSharper/ReSharper+4.0+Nightly+Builds I've been waiting for a C# 3.0 compatible version since I installed VS2008 back in De...

Future of Mock Frameworks: AEIS - Abstract Expectations & Isolation Syntax

ISerializable, February 14, 2008

As I was looking back and forward on the changing syntax of testing and mock frameworks, it occurs to me that there are still things that need to be solved in the mocking space. many things. It's ...

C# 3.0 Syntax AdditionsDesign Guidelines

DevX: .NET Feed, February 11, 2008

These guidelines will help you understand new additions to C# 3.0 syntax and avoid some of the pitfalls you can encounter when using them....

Creating and installing internet explorer context menu using C#

The Code Project Latest Articles, February 10, 2008

Add an IE context menu using an installer class...

Graham's Law of Power

Clarity Blogs: ASP.NET, February 9, 2008

Because making programs short is what high level languages are for. It may not be 100% accurate to say the power of a programming language is in inverse proportion to the length of programs written i...

Product Spotlight