Click here to Skip to main content

Articles by zenwalker1985 (Articles: 3, Technical Blogs: 39, Tip/Tricks: 2)

Articles: 3, Technical Blogs: 39, Tip/Tricks: 2

RSS Feed

Average article rating: 4.32

Database
SQL
Posted: 28 Jun 2011   Updated: 28 Jun 2011   Views: 6,448   Rating: 4.50/5    Votes: 2   Popularity: 1.26
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 182
SQL Table to Managed Type Creator
C#
General
Posted: 3 Oct 2011   Updated: 3 Oct 2011   Views: 9,736   Rating: 4.14/5    Votes: 11   Popularity: 4.31
Licence: The GNU Lesser General Public License (LGPLv3)      Bookmarked: 13   Downloaded: 0
Indepth details about constants and readonly
Uncategorised Tips and Tricks
General
Posted: 1 Jul 2011   Updated: 1 Jul 2011   Views: 6,849   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 9   Downloaded: 114
This article explains a refactored code snippet on passing parameters for a stored proecedure via SP schema rather than hard coding the column/param names.

Average blogs rating: 4.00

Static & Panel Controls
Beginners
Posted: 23 Dec 2011   Updated: 23 Dec 2011   Views: 7,807   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The GNU Lesser General Public License (LGPLv3)      Bookmarked: 1   Downloaded: 0
Static in generics
Custom Controls
Posted: 4 Jan 2012   Updated: 4 Jan 2012   Views: 8,551   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The GNU Lesser General Public License (LGPLv3)      Bookmarked: 3   Downloaded: 0
Dear Reader, Today i was fixing a bug w.r.t event handling. So as part of this there were couple of forms (classes basically) which were trying to hook to an KeyDown events and unhooking upon disposed. Basically the requirement is, for every customized control in the forms/panel, this keydown event
Posted: 26 Nov 2011   Updated: 8 Feb 2013   Views: 11,996   Rating: 3.33/5    Votes: 2   Popularity: 0.75
Licence: The GNU Lesser General Public License (LGPLv3)      Bookmarked: 9   Downloaded: 0
Dear Reader, In this article I am going to explain about a small tool which I have developed as my personal project for a couple of weekends in between my busy schedules. This small tool, which I like to call it as BoxCop is basically a static analyzer just like FxCop. I conceived this idea [...]
Tabs & Property Pages
Tabs and Property Pages
Posted: 10 Nov 2011   Updated: 10 Nov 2011   Views: 5,396   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The GNU Lesser General Public License (LGPLv3)      Bookmarked: 0   Downloaded: 0
Try not to implement Property with only set accessor TIP
C#
Delegates and Events
Posted: 10 Nov 2011   Updated: 10 Nov 2011   Views: 6,330   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The GNU Lesser General Public License (LGPLv3)      Bookmarked: 2   Downloaded: 0
I have found a few interesting things which I would like to share with you all.
General
Posted: 10 Oct 2011   Updated: 18 Oct 2011   Views: 23,099   Rating: 3.11/5    Votes: 2   Popularity: 0.40
Licence: The GNU Lesser General Public License (LGPLv3)      Bookmarked: 4   Downloaded: 0
Often we developers do not realize the pros and cons of a feature in a language.
Posted: 6 Nov 2011   Updated: 7 Nov 2011   Views: 6,492   Rating: 3.00/5    Votes: 1   Popularity: 0.00
Licence: The GNU Lesser General Public License (LGPLv3)      Bookmarked: 0   Downloaded: 0
Better Approach to Clearing StringBuilder TIP
Posted: 10 Nov 2011   Updated: 15 Nov 2011   Views: 12,937   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The GNU Lesser General Public License (LGPLv3)      Bookmarked: 0   Downloaded: 0
Dear Reader, Lately i have been reviewing/refactoring alot of code, and i must say many a times some code pushed me to a confused state, because they are not sealed. Now reading this you may wonder that i might sound silly. The problem is with inheritance here. When there are alot of code in your [.
Other .NET Languages
General
Posted: 1 Nov 2011   Updated: 1 Nov 2011   Views: 3,404   Rating: 4.50/5    Votes: 2   Popularity: 1.51
Licence: The GNU Lesser General Public License (LGPLv3)      Bookmarked: 3   Downloaded: 0
This is an extension to my old post about ctor concept in Ruby where I talked about how the Ctor concept has been implemented in Ruby and it’s quite different from other languages.
Exception Handling
General
Posted: 1 Nov 2011   Updated: 1 Nov 2011   Views: 3,038   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The GNU Lesser General Public License (LGPLv3)      Bookmarked: 1   Downloaded: 0
Dear Reader, We all know that Ruby is dynamic language where in calling a method on a type or perhaps object in ruby is not known or figured out until run time. So assume that if your writing your class and if some one else is accessing your class and tries to call some method [...]
Programming Tips
General
Posted: 6 Nov 2011   Updated: 6 Nov 2011   Views: 5,443   Rating: 3.00/5    Votes: 1   Popularity: 0.00
Licence: The GNU Lesser General Public License (LGPLv3)      Bookmarked: 4   Downloaded: 0
Why we should avoid calling virtual methods in Ctor.
String handling
General
Posted: 10 Nov 2011   Updated: 10 Nov 2011   Views: 6,592   Rating: 4.00/5    Votes: 2   Popularity: 1.20
Licence: The GNU Lesser General Public License (LGPLv3)      Bookmarked: 0   Downloaded: 0
An API available in the .NET FCL called CultureInfo.Compare().
Strings
Posted: 21 Dec 2011   Updated: 21 Dec 2011   Views: 7,437   Rating: 1.00/5    Votes: 2   Popularity: 0.30
Licence: The GNU Lesser General Public License (LGPLv3)      Bookmarked: 0   Downloaded: 0
String concatenation and a very good performance analysis.
Text Conversion
Posted: 5 Nov 2011   Updated: 5 Nov 2011   Views: 6,488   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The GNU Lesser General Public License (LGPLv3)      Bookmarked: 0   Downloaded: 0
String to Integer conversion Internals
Code Generation
General
Posted: 10 Nov 2011   Updated: 10 Nov 2011   Views: 11,014   Rating: 4.67/5    Votes: 2   Popularity: 1.51
Licence: The GNU Lesser General Public License (LGPLv3)      Bookmarked: 3   Downloaded: 0
Suppressing Code Analysis Warning
Design and Architecture
Application Design
Posted: 11 Oct 2011   Updated: 19 Oct 2011   Views: 19,442   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The GNU Lesser General Public License (LGPLv3)      Bookmarked: 6   Downloaded: 0
Dear Reader, This is in continuation to the previous post. Please note that this post will be long one, so if you have time keep reading Bridge Pattern: What: Its states that “Separating Object’s interface from its actual implementation”. What the above line means is that, usually
Posted: 20 Oct 2011   Updated: 20 Oct 2011   Views: 12,405   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The GNU Lesser General Public License (LGPLv3)      Bookmarked: 4   Downloaded: 0
Dear Reader, In this post, i shall show you a small good practice that i follow and even many books suggests while designing our generic methods which we daily write. So today i was refactoring a code @my work place and due to privacy rules i will not post the exact code but similar kind [...]
Design Patterns
Posted: 2 Oct 2011   Updated: 8 Oct 2011   Views: 12,753   Rating: 4.11/5    Votes: 2   Popularity: 1.51
Licence: The GNU Lesser General Public License (LGPLv3)      Bookmarked: 16   Downloaded: 0
Design patterns presentation Part 1
Posted: 10 Oct 2011   Updated: 10 Oct 2011   Views: 8,352   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The GNU Lesser General Public License (LGPLv3)      Bookmarked: 5   Downloaded: 0
Using the Facade Pattern to simplify application design.
Posted: 10 Oct 2011   Updated: 10 Oct 2011   Views: 7,690   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The GNU Lesser General Public License (LGPLv3)      Bookmarked: 2   Downloaded: 0
Not only is learning a pattern important or a big deal, it’s also important to know when to choose what.
Posted: 11 Oct 2011   Updated: 11 Oct 2011   Views: 8,302   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The GNU Lesser General Public License (LGPLv3)      Bookmarked: 1   Downloaded: 0
An intro to the Decorator Pattern
Posted: 13 Oct 2011   Updated: 13 Oct 2011   Views: 7,857   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The GNU Lesser General Public License (LGPLv3)      Bookmarked: 1   Downloaded: 0
Structural Design Pattern (Part 3)
Posted: 13 Oct 2011   Updated: 13 Oct 2011   Views: 9,197   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The GNU Lesser General Public License (LGPLv3)      Bookmarked: 2   Downloaded: 0
Structural Design Pattern (Part 2)
Uncategorised Technical Blogs
General
Posted: 28 Sep 2011   Updated: 28 Sep 2011   Views: 3,594   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The GNU Lesser General Public License (LGPLv3)      Bookmarked: 0   Downloaded: 0
Dear Friends, Again, i wont be discussing anything about Explicit interface implementation feature in c# here, i am sure either you know about it or there are many great articles on web you can take a look at. But i am must say that you must read the excellent article by my friend Abhiseksur on [...
Posted: 28 Sep 2011   Updated: 28 Sep 2011   Views: 4,247   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The GNU Lesser General Public License (LGPLv3)      Bookmarked: 2   Downloaded: 0
Dear Friends, In this article i shall be discussing about constants and read only fields which we all use in our .NET variant language codes viz C#, VB .NET, VC++, etc. Constants are not changeable values in the entire code base once it is defined. Lets dig a bit deeper into the const keyword which
Posted: 29 Sep 2011   Updated: 29 Sep 2011   Views: 4,829   Rating: 1.50/5    Votes: 2   Popularity: 0.30
Licence: The GNU Lesser General Public License (LGPLv3)      Bookmarked: 0   Downloaded: 0
Dear Reader, In this article, i shall talk about internals of null checking on a type (ref type mostly) by using null coalesce operator or via if condition. Null coalesce operator in c# is ?? and you can use it as shown below:  String SomeValue;  var res = SomeValue ?? null Now, lets us dig [...]
Posted: 30 Sep 2011   Updated: 30 Sep 2011   Views: 3,501   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The GNU Lesser General Public License (LGPLv3)      Bookmarked: 0   Downloaded: 0
Hi, Today i was just thinking what if i had read/heard a theoretical point from some where/some one that properties are actually methods internally and they are prefixed by get_ and set_ for get and set accessors  respectively but wanted to validate it practically. I am sure now you’ll think o
Posted: 11 Oct 2011   Updated: 11 Oct 2011   Views: 6,972   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The GNU Lesser General Public License (LGPLv3)      Bookmarked: 0   Downloaded: 0
Dear Reader, Today i was again skimming through the symbols in ruby and its advantage and then i began to see under which scenarios these folks claim its much better than the traditional way. So i started to write some small code chunks to test the performance on my laptop having i7 with 4 gigs [...
Posted: 17 Oct 2011   Updated: 17 Oct 2011   Views: 18,281   Rating: 3.75/5    Votes: 4   Popularity: 2.21
Licence: The GNU Lesser General Public License (LGPLv3)      Bookmarked: 3   Downloaded: 0
Dear Reader, I shall be talking about 3 topics by which we can clean up our mess created in our programs provided in C# .NET world. Bit History: I am sure you must be thinking now that “oh why re-inventing wheel?” or “Oh no not another same article which is available every where&#8
Posted: 19 Oct 2011   Updated: 19 Oct 2011   Views: 11,027   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The GNU Lesser General Public License (LGPLv3)      Bookmarked: 0   Downloaded: 0
Dear Reader, In ruby as we know, the ctor like concept is actually called initializers. Hence there is no really a constructor in ruby (perhaps i have not found even after googling for hours so far). So to initialize all your local class data in ruby, you have to do some thing like this: class [...]
Posted: 20 Oct 2011   Updated: 20 Oct 2011   Views: 11,269   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The GNU Lesser General Public License (LGPLv3)      Bookmarked: 0   Downloaded: 0
Dear Reader, I had been thinking about how to prove myself that base class members do get inherited to their child classes (sub classes) but still they remain private. Actually this lines i had read in many places in my earlier days. But always wanted to validate it. So i set to write code for [...]
Posted: 21 Oct 2011   Updated: 21 Oct 2011   Views: 11,411   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The GNU Lesser General Public License (LGPLv3)      Bookmarked: 2   Downloaded: 0
Internals of Params TIP
Posted: 1 Nov 2011   Updated: 1 Nov 2011   Views: 2,460   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The GNU Lesser General Public License (LGPLv3)      Bookmarked: 0   Downloaded: 0
Dear Reader, Today i was just looking at the IL of SqlConnection class, so i found few things which are interesting to me and hopefully to you as well. SqlConnection.Dispose() shall call Close() method internally, so if you’re using Using(){} block to open a connection, then you need not to Cl
Posted: 22 Nov 2011   Updated: 21 Nov 2011   Views: 8,998   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The GNU Lesser General Public License (LGPLv3)      Bookmarked: 2   Downloaded: 0
Singleton in non-inheritable vs inheritable classes
Posted: 22 Nov 2011   Updated: 22 Nov 2011   Views: 8,157   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The GNU Lesser General Public License (LGPLv3)      Bookmarked: 0   Downloaded: 0
Method call in Using block TIP
Posted: 16 Dec 2011   Updated: 16 Dec 2011   Views: 4,229   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The GNU Lesser General Public License (LGPLv3)      Bookmarked: 2   Downloaded: 0
Simple way to build solution without opening VS (TIP)
Posted: 19 Dec 2011   Updated: 19 Dec 2011   Views: 6,720   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The GNU Lesser General Public License (LGPLv3)      Bookmarked: 2   Downloaded: 0
Internals of Conversion styles in .NET
Posted: 28 Mar 2012   Updated: 28 Mar 2012   Views: 4,001   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The GNU Lesser General Public License (LGPLv3)      Bookmarked: 0   Downloaded: 0
Dear Reader, Today i was wandering through Codeproject as my daily routine and found one tip about Converting numbers to word. I actually got interest in it and began to read through and i was surprised how easy code the author has written. As well as i gone through the comments section. People have
Reviews on Third Party Products and Tools
Community Reviews
Posted: 28 Sep 2011   Updated: 28 Sep 2011   Views: 4,792   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The GNU Lesser General Public License (LGPLv3)      Bookmarked: 4   Downloaded: 0
Hello, In this article, i would just explain the overview of the TPL in .NET 4 which will just get you started in understanding about it. TPL stands for Task Parallel Library. This library was introduced in .NET 4 framework. In today’s world, the devices on which our code runs are powerful yet compa

Average tips rating: 4.20

C#
General
Posted: 22 Oct 2011   Updated: 23 Oct 2011   Views: 2,866   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
I find Organize Usings -> Remove and Sort option much more useful than Just using Remove Usings. After it sorts, the using statements looks nice. :) In case you don't want to install any addins.
Programming Tips
General
Posted: 10 Jul 2011   Updated: 10 Jul 2011   Views: 9,492   Rating: 3.40/5    Votes: 2   Popularity: 1.20
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
A simulation of the IS operator working in C#.
No reference articles have been posted.

zenwalker1985
Software Developer (Senior) Siemens
India India
A .net developer since 4+ years, wild, curious and adventurous nerd.
 
Loves Trekking/Hiking, animals and nature.
 
A FOSS/Linux maniac by default Wink | ;)
 
An MVP aspirant and loves blogging -> https://adventurouszen.wordpress.com/
Follow on   Twitter


Advertise | Privacy | Mobile
Web03 | 2.8.150305.1 | Last Updated 6 Mar 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid