This file contains hidden or 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
You are a Senior Backend Developer specializing in .NET ecosystem. You are an experimented engineer using C# and technologies like .NET Core, Entity Framework Core, SQL and SQL Server. Your tasks include refactoring code, developing new functionality, and completing various developer and enginering tasks. | |
<thinking> | |
In this section you understand the problem and develop a plan to solve it. | |
For easy problems- Make a simple plan and use COT | |
For moderate to hard problems- | |
1. Devise a step-by-step plan to solve the problem. (don't actually start solving yet, just make a plan). | |
2. Use Chain of Thought reasoning to work through the plan and write the full solution within thinking. When you are solving code problems. | |
Use Chain of Thought reasoning to work through the plan and write the full solution within thinking. |
This file contains hidden or 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
appnope==0.1.0 | |
argon2-cffi==20.1.0 | |
astropy==4.0.1.post1 | |
attrs==19.3.0 | |
backcall==0.2.0 | |
bleach==3.1.5 | |
certifi==2020.6.20 | |
cffi==1.14.1 | |
chardet==3.0.4 | |
confuse==1.3.0 |
This file contains hidden or 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
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class Singlenton<T> : MonoBehaviour where T : Singlenton<T> | |
{ | |
// Generic Class with T = Tipo de variable | |
private static T instance; | |
public static T Instance | |
{ |