[Help] Simple Error

05/23/2009 16:50 BasicCoder#1
Please no flaming, Or anything rude please!

I have a pretty simple error that I cannot fix.. Here it is below!

[Only registered and activated users can see links. Click Here To Register...]
05/23/2009 18:27 ih8you#2
Is the Client.cs in your solution?
05/23/2009 18:56 BasicCoder#3
No I do not have Client.cs
05/23/2009 19:13 Kital82#4
That's why ...
05/23/2009 19:17 Vortex.#5
Well you have too.. you prolly named it something else..
05/23/2009 19:35 PeTe Ninja#6
to remind people who are posting here its not a lotf source
05/23/2009 20:36 tanelipe#7
It's common to have this sort of problems when you're copy pasting others work or just leeching from a site that has provided you the code. (e*pvp, ******** etc.)

If you have that Client.cs class but you still can't seem to access it may be caused by you not having added all the required namespaces. I'll provide a sample of this situation.

PHP Code:
namespace Elitepvpers
{
    private class 
Moderator { }
    public class 
Moderators
    
{
         List<
Moderatorm_Moderators;
         
// code here
    
}


If you now were to access Moderators class from this sample of code

PHP Code:
namespace ConsoleApplication
{
     class 
Program
     
{
          public static 
void Main(string[] args
          {
               
string[] Names Moderators.GetNames();    
          }   
     }

It would cause the same exact problem you have; Thus you need to add
PHP Code:
using Elitepvpers// Like a good ol' leecher 
05/23/2009 21:08 danielachraf#8
Quote:
Originally Posted by BasicCoder View Post
Please no flaming, Or anything rude please!
To all who said Don't flame or something like that , Don't be afraid of flammers ... You should report them or flame you too :p

I am not reporting who are flamming me .. I don't like that .. i flame them on msn and then they block me.. Or i flame them in a Stupid question that they ask ..
05/23/2009 21:16 $HaDoW#9
post the full report of the error ! only then we can help :)