title: How to send decimal as a argument in the c# method
body: <p>I have a simple class which has a constructor in this manner:</p>
  
  <pre><code>public Components(int sNo, string componentName, string fileType, **decimal size**, int totalDownloads, string filePath, **decimal price**, string description)
  </code></pre>
  
  <p>i'm trying to send the arguments by calling this statement:</p>
  
  <pre><code>new DatabaseObjects.Components(1, "CC Cleaner", "exe", **2,84**, 0, @"C:\Users\admin\Desktop\Software_Components\CCCleaner.exe", **5,00**, "To clean up junk files and invalid Registry entries")
  </code></pre>
  
  <p>But as you can see when i try to send the arguments in this way it is not taking 2,84 as one value it is taking 2 as one argument and 84 as one argument.</p>
  
  <p>and when i try to replace ,with . <em>i mean 2,84 as 2.84</em></p>
  
  <p>it is saying cannot convert double to decimal.</p>
  
  <p>How can i solve this problem ?</p>
  
  <p>Please help me</p>