Question: I am working on a service which tracks millions of products for price changes and needs to be able to let the users view price history, biggest discounts , prices change a few times per week sometimes per day.

right now I have 

products table

* id
* category\_id
* name
* photo
* sku
* supplier\_id
* link
* discount (difference from last price to current price)

prices table

* product id
* timestamp
* price

I need to be able to query for:
biggest discounts
biggest discounts per category
biggest discounts per supplier
history of price for one product

is mongoDB a good fit ? can anyone give a quick start on how to convert my tables to fit the app ?

Answer: 
you can also do by this way but i dont know how to set which main method will be entry point 

```
 public static void Main(string args)
    {
        Console.WriteLine("this is second main method");
    }

   public static void Main(string[] args)
    {
        Program.Main("second main method");
   }

```
I do not think this will work. It won't even compile and complaint that the project has two main methods. There must only be one `public static main` method in the project. You have to rename/remove the second one.

By the way exactly why would you like to keep both of them?