Expression problem: Difference between revisions

Content deleted Content added
Arialdo (talk | contribs)
Problem description: Classes, interfaces and methods in C# sample needn't be all public
Tags: Mobile edit Mobile web edit
Arialdo (talk | contribs)
Problem description: Also for 2nd C# snippet, less uselessly public members
Tags: Mobile edit Mobile web edit
Line 174:
 
<syntaxhighlight lang="c#" line="1">
public class Mult : IEvalExp
{
publicinternal Mult(IEvalExp left, IEvalExp right)
{
Left = left;
Line 182:
}
 
publicinternal IEvalExp Left { get; }
 
publicinternal IEvalExp Right { get; }
 
public int Eval()