Click here to Skip to main content
15,898,773 members
Home / Discussions / C#
   

C#

 
QuestionAsp.net/C# Save Dialog Button Pin
a.vehbi25-Dec-05 11:51
a.vehbi25-Dec-05 11:51 
Questionhow can i get data from barcode reader? Pin
yazeed al bawardi25-Dec-05 11:31
yazeed al bawardi25-Dec-05 11:31 
Questioncontrol arrays Pin
Pyro Joe25-Dec-05 11:00
Pyro Joe25-Dec-05 11:00 
AnswerRe: control arrays Pin
User 665825-Dec-05 13:01
User 665825-Dec-05 13:01 
QuestionCODE EXAMPLE Pin
eyalso25-Dec-05 8:21
eyalso25-Dec-05 8:21 
AnswerRe: CODE EXAMPLE Pin
Judah Gabriel Himango25-Dec-05 8:29
sponsorJudah Gabriel Himango25-Dec-05 8:29 
QuestionAdding Class to System.Collections? Pin
Doncp25-Dec-05 6:10
Doncp25-Dec-05 6:10 
AnswerRe: Adding Class to System.Collections? Pin
Judah Gabriel Himango25-Dec-05 8:33
sponsorJudah Gabriel Himango25-Dec-05 8:33 
Well, you *could* add your collection to System.Collections by simply defining your class in the System.Collections namespace:

namespace System.Collections
{
   public MyClass
   {
      ...
   }
}


That said, I really don't recommend doing this. Do you really want other developers to think your library is part of the System.Collections namespace? That leads developers to believe that your class is part of the .NET framework class library. Also, your class will only appear to other developers (and other projects) if they explicitly add a reference to your dll.

I recommend doing company-specific or developer-specific namespaces:

Microsoft.DirectX;
Wintellect.PowerCollections;
YourCompany.Drawing;

Tech, life, family, faith: Give me a visit.
I'm currently blogging about: Bought a House!
Judah Himango


GeneralRe: Adding Class to System.Collections? Pin
Doncp25-Dec-05 10:21
Doncp25-Dec-05 10:21 
GeneralRe: Adding Class to System.Collections? Pin
Judah Gabriel Himango26-Dec-05 9:07
sponsorJudah Gabriel Himango26-Dec-05 9:07 
QuestionHow can i create a html file? Pin
CursedXp25-Dec-05 4:39
CursedXp25-Dec-05 4:39 
AnswerRe: How can i create a html file? Pin
Stanciu Vlad25-Dec-05 7:29
Stanciu Vlad25-Dec-05 7:29 
QuestionCopying File Names from Explorer Pin
redfish3424-Dec-05 23:24
redfish3424-Dec-05 23:24 
AnswerRe: Copying File Names from Explorer Pin
Judah Gabriel Himango25-Dec-05 8:35
sponsorJudah Gabriel Himango25-Dec-05 8:35 
GeneralRe: Copying File Names from Explorer Pin
redfish3425-Dec-05 16:04
redfish3425-Dec-05 16:04 
AnswerFOUND SOLUTION Pin
redfish3425-Dec-05 22:28
redfish3425-Dec-05 22:28 
QuestionIE Menu Extension Pin
ghost120724-Dec-05 22:52
ghost120724-Dec-05 22:52 
QuestionPassing a class by value, but reversed? Pin
monrobot1324-Dec-05 20:25
monrobot1324-Dec-05 20:25 
AnswerRe: Passing a class by value, but reversed? Pin
S. Senthil Kumar25-Dec-05 1:36
S. Senthil Kumar25-Dec-05 1:36 
Questionprogramatically creating control instances Pin
Pyro Joe24-Dec-05 15:51
Pyro Joe24-Dec-05 15:51 
AnswerRe: programatically creating control instances Pin
Luke Davis24-Dec-05 16:24
Luke Davis24-Dec-05 16:24 
GeneralRe: programatically creating control instances Pin
Pyro Joe25-Dec-05 5:33
Pyro Joe25-Dec-05 5:33 
QuestionHow start a application at beginning windows(about registry) Pin
Developer_124-Dec-05 14:35
Developer_124-Dec-05 14:35 
AnswerRe: How start a application at beginning windows(about registry) Pin
Developer_124-Dec-05 21:52
Developer_124-Dec-05 21:52 
AnswerRe: How start a application at beginning windows(about registry) Pin
S. Senthil Kumar25-Dec-05 1:38
S. Senthil Kumar25-Dec-05 1:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.