SHARE
TWEET

Untitled

a guest Jan 26th, 2018 48 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. using System;
  2. using System.Runtime.InteropServices;
  3.  
  4. namespace MyTestProg{
  5.     class Program{
  6.    
  7.         [DllImport("MyProjectLibrary.dll")]
  8.         private static extern int OnePlus(int input_var);
  9.        
  10.         static void Main(string[] args){
  11.             int i=1;
  12.             i = OnePlus(i);
  13.             Console.WriteLine("Hello world! %d",i);
  14.         }
  15.     }
  16. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top