title: Byte data type an throws error when compiled
body: <p>it throws the error <code>main.cs(27,9): error CS1525: Unexpected symbol `byte', expecting `class', `delegate', `enum', `interface', `partial', `ref', or `struct'</code>
  github repo <a href="https://github.com/staticvoidliam7/Argon/tree/Development-(Unstable)" rel="nofollow noreferrer">here</a>
  this code is from <a href="https://medium.com/@kusumatomy/developing-simple-crypto-application-using-c-48258c2d4e45" rel="nofollow noreferrer">here</a>. I am using Mono 6.12.0.90. I am using the Byte data type.</p>
  <pre><code>using System;
  using System.Threading;
  using System.Collections.Generic;
  using System.Linq;
  using System.Text;
  
  public class Transaction
  {
     public int Id { get; set; }
     public string Sender { set; get; }
     public string Recipient { set; get; }
     public decimal Amount { set; get; }
     public decimal Fee { set; get; }
  }
  
  public class Block
  {
      public int Height { get; set; }
      public Int64 TimeStamp { get; set; }
      public byte[] PrevHash { get; set; }
      public byte[] Hash { get; set; }
      public Transaction[] Transactions { get; set; }
      public string Creator { get; set; }
  }
    
  
    public byte[] GenerateHash()
  {
      var sha = SHA256.Create();
      
      //convert current timestamp to array of byte
      byte[] timeStamp = BitConverter.GetBytes(TimeStamp);
  
      //convert transaction collection to array of byte
      var transactionHash = Transactions.ConvertToByte();
  
      //make block header in array of byte
      byte[] headerBytes = new byte[timeStamp.Length + PrevHash.Length + transactionHash.Length];
  
      Buffer.BlockCopy(timeStamp, 0, headerBytes, 0, timeStamp.Length);
      Buffer.BlockCopy(PrevHash, 0, headerBytes, timeStamp.Length, PrevHash.Length);
      Buffer.BlockCopy(transactionHash, 0, headerBytes, timeStamp.Length + PrevHash.Length, transactionHash.Length);
  
      byte[] hash = sha.ComputeHash(headerBytes);
  
      return hash;
  
  }
  
  class main{
    static void Main(){
    
  
    }
  }
  </code></pre>
  <p>I am using Repl.it as my development environment, and am running the program via a bash project using Mono.</p>
  <p>i just want it to run without errors at this point lol</p>
  <p><a href="https://i.stack.imgur.com/qtsdO.png" rel="nofollow noreferrer">Screenshot</a></p>