|
-
Mar 13th, 2005, 07:27 AM
#1
Thread Starter
Frenzied Member
header files?
Does C# have header files like C/C++ ??
-
Mar 13th, 2005, 12:31 PM
#2
Re: header files?
Short answer: No.
Long answer: What are you looking for?
-
Mar 13th, 2005, 02:01 PM
#3
Thread Starter
Frenzied Member
Re: header files?
I have a few algorithms I would to store in another file, so they don't clutter my main file. Can I use modules then, like in VB?
-
Mar 13th, 2005, 02:16 PM
#4
yay gay
Re: header files?
there are no modules in c#
but you can put all your functions inside a class, it would look about the same
\m/  \m/
-
Mar 14th, 2005, 12:53 PM
#5
Re: header files?
 Originally Posted by CyberCarsten
I have a few algorithms I would to store in another file, so they don't clutter my main file. Can I use modules then, like in VB?
use an abstract class and declare everythign in it as static
Code:
public abstract class foo
{
public static string bleh="mendhak is a frog";
public static int testYourMight ()
{
return 42;
}
}
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB )
VB.NET to C# conversion tips!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|