1
Answer

setup program

asic

asic

20y
1.9k
1
hi all will i made a program that include microsoft access xp database and a code for the the program in c# and i finished compliling it and executing i wanna know how can i join all these components in a setup program so that i can share the program easly ........................and how can i relate the required dll libraries thanks too much for your help
Answers (1)
0
Vulpes

Vulpes

NA 98.3k 1.5m 12y
I've modeled what you've described and come up with this which works fine (.NET 4.0) :

using System;
using System.Threading.Tasks;

class Test
{
   static void Main()
   {
      int result = FuncA(11);
      Console.WriteLine(result); // 17
      Console.ReadKey();
   }

   static int FuncA(int i)
   {
      i++;
      Task<int> task = Task.Factory.StartNew<int>(() => FuncB(i));
      int j = task.Result;
      return j + 3;
   }

   static int FuncB(int i)
   {
      return i + 2; 
   }
}

So, what else are you wanting to do?

Are you just wanting to do it in a different way so it will run on .NET 3.5 say?