MCPcopy Create free account
hub / github.com/FSoft-AI4Code/CodeText-parser / Dog

Class Dog

tests/test_parser/test_sample/c_sharp_test_sample.cs:14–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12
13using System;
14public class Dog : Animal {
15
16 // Instance Variables
17 String name;
18 String breed;
19 int age;
20 String color;
21
22 // Constructor Declaration of Class
23 public Dog(String name, String breed,
24 int age, String color)
25 {
26 this.name = name;
27 this.breed = breed;
28 this.age = age;
29 this.color = color;
30 }
31
32 // Docstring of this function
33 static void Main(string[] args)
34 {
35 Car myObj = new Car();
36 Console.WriteLine(myObj.color);
37 }
38 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected