blah blah blah is here! blah blah » Close

0
votes
0 answers

DLL Importing

Hi, I have been experimenting with using DLL Import on user32.dll and kernel32.dll I have successfully put together my own way of working with the MessageBox as an experiment to learning the DLLs. Could you enlighten me on what I could ...

1
votes
1 answers

Mobile Number Regular Expression

Hi, my goal is to create a Regular Expression to validate South African Mobile numbers. NOTE I am not very experienced in RegExp - I did this off the cheat sheet... I have already written this expression ( you will see below ), but I ...

1
votes
1 answers

C# Singleton Classes

Hi guys - I been out of action for a long while, I have created the following class to help save time for the rest of my coding. I would like to make sure I'm on the right track as this is the first time I'm really making a Singleton Clas ...

1
votes
2 answers

C# Very weird class questions

hi. a developer recently employed into a position senior to mine does this sort of thing with every single class he creates and refuses to explain it to me...may be some of you here could shed some light. he gave me this exact example ...

1
votes
1 answers

C# DateOfBirth Struct

#EDIT : Updated GetAge() with Vulpes "28" fix #EDIT : Updated GetAge() Method Hi Thanks - I have just updated my class as you suggested - did some crazy stuff but have trimmed them out from here...I need to think about those a ...

1
votes
1 answers

C# 4.0 the goto statement

How does the goto statement effect the compiler ? I have read many views on the web...some people say it's good...others say it's bad. I have done an experiment with it in a console app. was easy to use...but is it really bad or are t ...

1
votes
1 answers

C# 4.0 data types "nested" structs

Hi, I decided to do some experimenting with regards to "Nested" structs. my questions are : 1. is it good to use Nested Structs ? 2. is there a more effecient way to do this ? 3. is there anyway to optimize what I've curren ...

1
votes
3 answers

Custom "Data Types" using C# 4.0 ( structs )

I decided to do some experimenting so I wrote a "Data Type" for cellphone numbers. the data type stores the area code as well as as a 9 digit cellphone number ( the zero is ignored ) I am basically looking for advise on how to ...

1
votes
1 answers

Decrement Looping

Is a Decrement loop really more efficient ? [code] for (int j = 0; j < 200; j++) { } // OR for (int j = 200; j > 0; j--) ...

1
votes
3 answers

Data Structs - why does C# act differently ?

I have the following struct in C++ which works perfectly. I have used a binary tree struct for this example. [code] struct node { int index; node *left; node *right; }; [/code] now I create this in C# [code] ...

0
votes
0 answers

Private Messages

Would be nice to have a private message feature - just to discuss anything private with other members...

0
votes
0 answers

ciphering / deciphering optimization

{EDITED - Spelling errors... } {EDITED - Removed iCipher... } {Edited - changed Cipher() to ShiftRight and Decipher() to ShiftLeft reason : if you can shift Input left or right.,,negative or positive ciphering / decihpering. } Hi Guy ...

0
votes
0 answers

Windows 7 Gadget Development C#4.0

Hi, does anyone know of any sites or tutorials that offer a PURE C# way of developing windows 7 Gadgets ? All the tutorials I find require you to import DLLs. If you do know of any PURE C# way. please send me the link. I am planning t ...

1
votes
0 answers

Improving the google ranking of debugging.com

1. you have people entering tags on questions asked : all you need to do is dynamically write the first 3 - 5 tags to the meta keywords and the first 10 or so words to to the meta description. have a robots.txt file in the root of the we ...

1
votes
2 answers

Look for a way to optimize with RegExp, HttpWebRequest using C# 4.0

Hi, you could say I've just started playing around. My idea here is I want to be able to use the "define:" function in Google searchers from any of my applications. example : type "define:Test" into google and you woul ...

Feedback