v 0. Pasted by Anonymous as d at 2012-12-07 01:15:38 MSK and set expiration to never.

Paste will expire never.

  1. class GetFileName
  2. {
  3.     string name;
  4.  
  5.     this(string name)
  6.     {
  7.         this.name = name;
  8.     }
  9. }
  10.  
  11.  
  12. import std.stdio;
  13. import std.string;
  14. import std.conv;
  15. import std.file;
  16. import GetFileName; //I do import file above to project
  17.  
  18. void main()
  19. {
  20. auto file = new GetFileName();
  21. file.name = "test";
  22. }