A
Andrew
I have just started looking at C# coming from a Delphi background. My
question is where do I put my standard code routines.
e.g.
In Delphi I had my standard often used string handling routines in
StrTools.pas which I would store in C:\Develop\Delphi7\Standard\Lib folder.
I would then link this unit into any application I was working on and it
would be compiled in.
In C# I can create a StrTools.cs file and place it in
c:\Develop\CSharp\Standard\Lib and then I have to manually add it to any
projects that I am working on.
But is this the best way to go about things? Should all standard misc bits
of code go in their own assembly. How does everyone else organise things
like this?
Also does this mean the assembly is then open to be used by other third
party applications? I some cases I would not want this e.g. standard code
for encrypting passwords.
question is where do I put my standard code routines.
e.g.
In Delphi I had my standard often used string handling routines in
StrTools.pas which I would store in C:\Develop\Delphi7\Standard\Lib folder.
I would then link this unit into any application I was working on and it
would be compiled in.
In C# I can create a StrTools.cs file and place it in
c:\Develop\CSharp\Standard\Lib and then I have to manually add it to any
projects that I am working on.
But is this the best way to go about things? Should all standard misc bits
of code go in their own assembly. How does everyone else organise things
like this?
Also does this mean the assembly is then open to be used by other third
party applications? I some cases I would not want this e.g. standard code
for encrypting passwords.