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: 
If program have two main method compiler get confution so run c# program put main class give

```
public Class one

{
public static void main()
{
System.console.writeline("One");
}

public Class two
{
public static void main()
{
System.console.writeline("Two");
}
}

```

run C# in console 

**CSC Multimain.cs /main:one**

* Output
One

**CSC Multimain.cs /main:two**

* Output
Two
You can place a Main method in every class you declare. Some programmers take advantage of this to build a small test app into each class they declare. 

However, if you declare more than one **Main method** among the classes of your project, you’ll need to indicate to the IDE which one you would like to be the app’s **entry point**. To do so:

1. With the project open in Visual Studio, select **Project >
[ProjectName] Properties**... (where **[ProjectName]** is the name of your
project).
2. Select the class containing the Main method that should be the entry
point from the **Startup object** list box.