Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: More C# Help...  (Read 3474 times)

0 Members and 1 Guest are viewing this topic.

hibyy

    Topic Starter


    Rookie

    • Experience: Familiar
    • OS: Windows 8
    More C# Help...
    « on: February 09, 2009, 05:21:25 PM »
    Hello I need some more help... xD

    I Figured out how to make a .dll from a C# program but I want it to edit another file when I turn it on.

    The Problem is I don't know what to type in the code to do that...

    This is the code...

    using System;

    public class EditMe
    {
       public static void Main()
       {
          string editthisstring = "Hello";
          Console.WriteLine(editthisstring);
    // Part when you use the dll...
          Console.ReadLine();
    // I want it to say "Good Bye!" when the DLL edits it.
          Console.WriteLine(editthisstring);
          Console.ReadLine();
       }
    }

    BC_Programmer


      Mastermind
    • Typing is no substitute for thinking.
    • Thanked: 1140
      • Yes
      • Yes
      • BC-Programming.com
    • Certifications: List
    • Computer: Specs
    • Experience: Beginner
    • OS: Windows 11
    Re: More C# Help...
    « Reply #1 on: February 09, 2009, 10:25:46 PM »
    when I turn it on.

    what does this mean? When you turn what on?
    I was trying to dereference Null Pointers before it was cool.

    hibyy

      Topic Starter


      Rookie

      • Experience: Familiar
      • OS: Windows 8
      Re: More C# Help...
      « Reply #2 on: February 10, 2009, 06:59:08 PM »
      when I activate the dll in another application so I can use it in that application.