We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 154d6e6 commit e9a8913Copy full SHA for e9a8913
CSharp-Design-Patterns/FactoryDesignPattern/FactoryDesignPattern/Program.cs
@@ -0,0 +1,22 @@
1
+using System;
2
+using System.Collections.Generic;
3
+using System.Linq;
4
+using System.Text;
5
+using System.Threading.Tasks;
6
+using FactoryDesignPattern.Classes;
7
+
8
+namespace FactoryDesignPattern
9
+{
10
+ class Program
11
+ {
12
+ static void Main(string[] args)
13
14
+ Creator c = new Creator();
15
16
+ IProduct product1 = c.FactoryMethod(ProductType.Product1);
17
+ Console.WriteLine(product1.siparisFormu());
18
19
+ Console.ReadKey();
20
+ }
21
22
+}
0 commit comments