Results 1 to 4 of 4
  1. #1
    jranima's Avatar
    Join Date
    Mar 2019
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    My Mood
    Worried

    Connecting to game online

    why does it error
    https://www.mpgh.net/forum/mpghvhttp...attach/jpg.gif

    using System;
    using System.ComponentModel;
    using System.Drawing;

    using System.Runtime.InteropServices;
    using System.Threading;
    using System.Windows.Forms;
    using System.Diagnostics;
    using ROS; <- Whats wrong with these coding these became error in C# Viusal 2017 ?

    namespace Ros
    {
    class Program
    {
    static void Main(string[] args)
    {
    System.Console.WriteLine(args.Length);




    }
    }
    Attached Thumbnails Attached Thumbnails
    ad.jpg  


  2. #2
    Azuki's Avatar
    Join Date
    Mar 2015
    Gender
    female
    Location
    京都市
    Posts
    1,110
    Reputation
    195
    Thanks
    20,156
    My Mood
    Angelic
    Quote Originally Posted by jranima View Post
    why does it error
    https://www.mpgh.net/forum/mpghvhttp...attach/jpg.gif

    using System;
    using System.ComponentModel;
    using System.Drawing;

    using System.Runtime.InteropServices;
    using System.Threading;
    using System.Windows.Forms;
    using System.Diagnostics;
    using ROS; <- Whats wrong with these coding these became error in C# Viusal 2017 ?

    namespace Ros
    {
    class Program
    {
    static void Main(string[] args)
    {
    System.Console.WriteLine(args.Length);




    }
    }
    probably there is no reference called ROS??

    BTC: 1LLm4gaPYCZsczmi8n1ia1GsEMsDRs2ayy
    ETH: 0x7d8045F6e452045439c831D09BAB19Bf9D5263EE



  3. #3
    Demon's Avatar
    Join Date
    Jul 2015
    Gender
    male
    Location
    Lost
    Posts
    1,095
    Reputation
    86
    Thanks
    316
    My Mood
    Angelic
    Quote Originally Posted by jranima View Post
    why does it error
    https://www.mpgh.net/forum/mpghvhttp...attach/jpg.gif

    using System;
    using System.ComponentModel;
    using System.Drawing;

    using System.Runtime.InteropServices;
    using System.Threading;
    using System.Windows.Forms;
    using System.Diagnostics;
    using ROS; <- Whats wrong with these coding these became error in C# Viusal 2017 ?

    namespace Ros
    {
    class Program
    {
    static void Main(string[] args)
    {
    System.Console.WriteLine(args.Length);




    }
    }
    Because your Main class in already located in the namespace ROS. So there is no reason why you should make a using statement in that namespace.
    Nice

  4. #4
    XoXlonG's Avatar
    Join Date
    Sep 2019
    Gender
    male
    Posts
    22
    Reputation
    10
    Thanks
    0
    Thanks for the useful info

Similar Threads

  1. when i connect the game with hacks...
    By stavstyle in forum Combat Arms EU Discussions
    Replies: 12
    Last Post: 11-11-2010, 02:42 PM
  2. Any good racing games online?
    By -Lame in forum General
    Replies: 13
    Last Post: 05-01-2010, 10:37 AM
  3. [Request] I will pay if someone can hack or cheating asura game online
    By dekpkt in forum Hack Requests
    Replies: 0
    Last Post: 03-24-2010, 06:00 AM
  4. Failed to connect to EA online
    By kraanwater in forum Battlefield Bad Company 2 (BFBC2) Hacks
    Replies: 7
    Last Post: 02-21-2010, 05:54 AM
  5. WarRock Addies 13/04/2009 + Game online
    By zildjiandw in forum WarRock - International Hacks
    Replies: 21
    Last Post: 04-15-2009, 02:16 PM