All pastes #391055 Raw Edit

Mine

public text v1 · immutable
·published 2007-03-11 21:34 UTC
rendered paste body
using System;
using Microsoft.Win32;

public class cMain {
  public static void Main(string[] argc){
        RegistryKey rootKey = Microsoft.Win32.Registry.CurrentUser;
        RegistryKey myKey =null;
        myKey = rootKey.CreateSubKey(@"test");
        myKey.SetValue("Testvalue",0);

        myKey.Close();

  }

}