title: How to define the Bit datatype in a method parameter in C#?
body: <p>I have a SQL table on a database which has a column in it with the Bit datatype. I'm trying to define a method in my C# application which takes two of the columns from the table and uses them as parameters. </p>
  
  <p>Here is the code</p>
  
  <pre><code>public void Edit_NAA_ApplicationsFirm(int ApplicationId, string UniversityOffer, bit Firm)
      {
          //This line declares a variable in which we store the actual values from NAA_Applications based on the associating ID
          NAA_Applications AppFirm = Get_Applicant_Application(ApplicationId);
  
          //Here we tell the application that the values edited are equal to the values within the table
          AppFirm.Firm = Firm;
  
          //Any of these changes are then saved.
          _context.SaveChanges();
  
      }
  </code></pre>
  
  <p>The only issue is the the program keeps trying to convert bit to BitConverter. When I change it to bit it has issues accepting it as a datatype. </p>
  
  <p>It should be worth noting I'm building the application in an ASP.Net Framework solution.</p>
  
  <p>Could anyone tell me what it is I'm doing wrong? Am I just referring to the datatype wrong?</p>