Click here to Skip to main content
12,360,581 members (57,829 online)

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

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

RSS Feed

Average article rating: 4.32

Database
SQL
Posted: 28 Jun 2011   Updated: 28 Jun 2011   Views: 7,940   Rating: 4.50/5    Votes: 2   Popularity: 1.26
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 197
SQL Table to Managed Type Creator
C#
General
Posted: 3 Oct 2011   Updated: 3 Oct 2011   Views: 11,500   Rating: 4.14/5    Votes: 11   Popularity: 4.31
Licence: The GNU Lesser General Public License (LGPLv3)      Bookmarked: 14   Downloaded: 0
Indepth details about constants and readonly
Uncategorised Tips and Tricks
General
Posted: 1 Jul 2011   Updated: 1 Jul 2011   Views: 8,301   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 9   Downloaded: 116
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: 3.74

Static & Panel Controls
Beginners
Posted: 23 Dec 2011   Updated: 23 Dec 2011   Views: 8,371   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: 9,422   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: 25 Nov 2011   Updated: 8 Feb 2013   Views: 14,034   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: 6,231   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,850   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: 24,882   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: 7,881   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: 13,881   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,822   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,680   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: 6,452   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: 7,701   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: 9,274   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: 8,390   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
Posted: 21 Nov 2015   Updated: 21 Nov 2015   Views: 1,430   Rating: 1.67/5    Votes: 3   Popularity: 0.48
Licence: The GNU Lesser General Public License (LGPLv3)      Bookmarked: 2   Downloaded: 0
Dear Reader, I would like to bring into your attention an old article written on this topic. This article explains alot about strings concatenation and does very good performance analysis. Here is a glimpse about this article: Over the years, plenty has been written about... Read More
Code Generation
General
Posted: 10 Nov 2011   Updated: 10 Nov 2011   Views: 15,966   Rating: 4.75/5    Votes: 3   Popularity: 2.23
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: 20,363   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,740   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: 13,802   Rating: 4.11/5    Votes: 2   Popularity: 1.51
Licence: The GNU Lesser General Public License (LGPLv3)      Bookmarked: 17   Downloaded: 0
Design patterns presentation Part 1
Posted: 10 Oct 2011   Updated: 10 Oct 2011   Views: 9,071   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: 8,180   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,820   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: 8,790   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: 10,010   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: 4,102   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,822   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: 6,780   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: 4,191   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: 7,400   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: 25,546   Rating: 3.60/5    Votes: 5   Popularity: 2.62
Licence: The GNU Lesser General Public License (LGPLv3)      Bookmarked: 5   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,411   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,530   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,700   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: 3,041   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: 20 Nov 2011   Views: 9,622   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,531   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,880   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: 7,070   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,780   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
Posted: 21 Nov 2015   Updated: 21 Nov 2015   Views: 860   Rating: 1.00/5    Votes: 1   Popularity: 0.00
Licence: The GNU Lesser General Public License (LGPLv3)      Bookmarked: 0   Downloaded: 0
Dear Reader, I learned some thing new (for myself) but could be an old news for you. Any ways just wish to share it with you all in case if you did not know It may so happen that at times we need to build dependent projects/solutions... Read More
Reviews on Third Party Products and Tools
Community Reviews
Posted: 28 Sep 2011   Updated: 28 Sep 2011   Views: 5,584   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: 4,350   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: 10,741   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/


Advertise | Privacy | Mobile
Web02 | 2.8.160621.1 | Last Updated 2 Jul 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid