title: Google.Protobuff timestamp.proto in c#
body: <p>I have successfully compiled my .proto file with google.proto.Timestamp and generated the .cs file with protoc. The only problem i am having is initialization in my c# code.</p>
  
  <p>I have tried the following: </p>
  
  <p><strong>.proto File</strong></p>
  
  <pre><code>message teststamp
  {
      string Name = 1 ;
      string address = 2;
      google.protobuf.Timestamp _timeStamp = 3;
  }
  </code></pre>
  
  <p><strong>C# File</strong></p>
  
  <pre><code>teststamp test = new teststamp();
  test.Name = "Test";
  test.address = "Test_Test_TEST"
  //Example 2 : POSIX
  test._timeStamp.Seconds = DateTime.Now.Second;
  test._timeStamp.Nanos = DateTime.Now.Second*1000 ;
  </code></pre>
  
  <p>The above is compiling without errors but giving me this error: <code>Object reference not set to an instance of an object</code> .I have tried few other approaches but due to less help it is unable to fix the error. </p>
  
  <p>Please help me out in this issue</p>
  
  <p>Thanks</p>