Banner Ad

Sunday, June 1, 2014

Daily interview Question #10 : what is the purpose of "explicit" implementation of interface?

By Francis   Posted at   7:32 AM   CodeProject No comments

There are 2 purposes of explicit implementation of Interface:
First, it is used to avoid name collision between interface methods. That is if you are going to create a class library, there may be a chance to use the same name in several places. At that time "explicit" implementation comes as a rescue.
Secondly, You cannot access that implemented method through the object of the class directly. Instead you typecast it as Interface reference then you can access it. This is because, the C# complier, unable to determine which one the user want to call.

Friday, May 16, 2014

Daily interview Question #9: what is the purpose of ref and out parameters in C#?

By Francis   Posted at   9:00 AM   No comments

          Ref keyword is used to send the particular parameter as a reference to the function or subroutine.
          In some cases we may want to return value from the function but we don't want to use that variable within the function. We just get back some value, that's all. In these kind of scenarios we may go with 'out' parameter.
          The main difference between the two is, before passing ref parameter we must initialize the particular variable. But this kind of initialization is not necessary with 'out' parameter.

Sunday, May 11, 2014

ASP.Net Forums - FAQ #4 : Running ASP.Net website from Home

By Francis   Posted at   3:20 PM   ASP.Net Forums 1 comment
                                           Here is the next question for a newbie who are wish to run a ASP.Net website from home or going with a hosting company. However, as per my experience I suggest to instead of running website from home, you may prefer a good hosting company. Running a website from home is not a bad idea. But the stuff behind it some what hard. So in this article i am going to highlight what are the stuffs you need to run a website.
WebSiteIdea
                                 

Thursday, May 1, 2014

A List of Developer Tools : A Tech blogger must have

By Francis   Posted at   6:27 PM   Blogging No comments
                    I Love Technology blogging. Since the beginning of this blog, I have lot of troubles to write my articles, to show my output of my demo, Convert code from vb.net to C# and vice versa etc. So some useful stuffs and utilities needed for me which simplify my day today blogging activities. In this post, I am going to guide you these kind of useful stuffs.
Blogging_Tools

Monday, April 21, 2014

File Upload Control–How to give same UI in all browsers?

By Francis   Posted at   6:56 PM   CodeProject No comments
                                  As all of know, the File Upload control is used to upload your favourite files to the server. One of the biggest challenge while using this control is UI issue. That is this control is rendered in a different ways in all browsers. Please see the below figures, each of them rendered the File Uploader in a different way. That is UI is vary across the browsers.

Connect with Us