added vscode settings.json

This commit is contained in:
didier amyot committed 2023-08-13 08:04:01 -04:00
1 parent c8f922d078
commit eed3373822
2 files changed
+33 -1

No files matched your search

+25 -1
View File
@@ -1,2 +1,26 @@
// See https://aka.ms/new-console-template for more information
Console.WriteLine("Hello, World!");
namespace Algorithms;
using System;
class Point{
private double x;
private double y;
public Point(double x, double y){
this.x = x;
this.y = y;
}
public double Distance(){
return Math.Sqrt(x * x + x * y);
}
}
class Foo{
public static void Main(String[] args){
Point p = new Point(3, 4);
Console.WriteLine("Hello World From A Class: " + p.Distance());
}
}