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
private T ActionWithRetry<T>(Func<T> fn) { | |
int retryCount = 0; | |
bool success = false; | |
while (retryCount < 4 && !success) { | |
try { | |
return fn(); | |
} | |
catch (Exception e) { | |
retryCount++; |
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; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace budget { | |
public class Program { | |
static void Main(string[] args) { | |
var debt = new DebtCalculation(500); |
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
git push origin :[branchname] | |
git branch -D [branchname] |