mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
24 lines
396 B
C#
24 lines
396 B
C#
using System;
|
|
|
|
class Bad
|
|
{
|
|
static void Main(string[] args)
|
|
{
|
|
var p = new Person("Eric Arthur Blair");
|
|
Console.WriteLine("p: " + p);
|
|
|
|
var ints = new int[] { 1, 2, 3 };
|
|
Console.WriteLine("ints: " + ints);
|
|
}
|
|
|
|
class Person
|
|
{
|
|
private string Name;
|
|
|
|
public Person(string name)
|
|
{
|
|
this.Name = name;
|
|
}
|
|
}
|
|
}
|