This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Online C# Editor for free | |
// Write, Edit and Run your C# code using C# Online Compiler | |
using System; | |
using System.Linq; | |
public class HelloWorld | |
{ | |
public static void Main(string[] args) | |
{ | |
Combinational gateA = new Combinational(5); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Class of abstract Element | |
*/ | |
using System; | |
using System.Linq; | |
public class Element | |
{ | |
private string name; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Class of abstract Element | |
*/ | |
public class Element | |
{ | |
private string name; | |
private int countInput; | |
private int countOutput; | |
public Element() |