Some amazing Logo designs – Part 1

By mahingupta on Feb 01 2010 | 0 Comments


I will write a multipart series to show you some great Logos I have found on the net.

Below Logo designs I have seen at this place. There are many great designs out there. Below are my pics.

 

 

 

Post info

Tags:
Categories: Logo , Design

C# : Difference between Hashtable and Dictionary

By mahingupta on Jan 31 2010 | 0 Comments


 

When we want a collection  data structure to hold data as key/value pairs, we have two obvious choices.

1. Dictionary

2. Hashtable

So basically what is the difference between both this and when to use which. Lets check it out. Point by Point.

1) Generics

Dictionary is a generic type, Hashtable is not. Now what that means. This is the most important aspect one should consider when taking decision. Dictionary is a generic type means

- You get type safety with Dictionary, because you can't insert any random object into it, and you don't have to cast the values you take out.

- And also generic collections are a lot faster as there's no boxing/unboxing

- Hashtable uses Object to hold things internally (Only non-generic way to do it). So you have to take care of type safety and cast it to appropriate data type when you take it out, but it also means that you can add keys and values of any type ( It is good or bad, well it depends :) )

- Again Hashtable also have to box/unbox, which may have memory consumption as well as performance penalties.

2) Thread Safety :

In .Net Hashtable is thread safe for use by multiple reader threads and a single writing thread, while in Dictionary public static members are thread safe, but any instance members are not guaranteed to be thread safe.

One more thing that can make difference is,  we can not use dictionary (generics) with web services. The reason is no web service standard supports generics standard.

Technorati Tags: ,,,,,,,,

Windows Live Tags: C#,Hashtable,Dictionary,collection,Generics,instance,services,supports,collections

WordPress Tags: C#,Hashtable,Dictionary,collection,Generics,instance,services,supports,collections

Follow me on Twitter |

Post info

Tags:
Categories: TechTips , C#

India : Search Private Limited Company Name

By mahingupta on Dec 04 2009 | 1 Comments

In India if you want to open a private limited company, you have to make sure that the name you are choosing for your company should be available for the services you want to provide.

You can check if your company name is available or not at Ministry of Commerce affair site.

If this link is not working ( Some times it says “session Expired” ),  than please visit this link, and then from Other Services menu select “Check Company or LLP Name”

image 

This site is a bit crappy so be have patience and try if it is not working correctly.

image

Just select Relation : Contains any where or Starts with,  and enter name of your company in Company Name or LLP Name and hit enter ( At the time of writing the search button was not working :) ). It should come up with list of companies that have your company name in their name.



Post info

Tags:
Categories: Business