From 53d5ab55f747f35c5324efe3710ce344eb23fa5a Mon Sep 17 00:00:00 2001 From: Mayur Shingote Date: Tue, 27 Feb 2018 20:56:06 +0545 Subject: [PATCH] Updated SmackMyBitch.cs To maintain the consistency of the code updated all data type names to var --- CSharp/SmackMyBitch.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CSharp/SmackMyBitch.cs b/CSharp/SmackMyBitch.cs index d5c13fc..3c91325 100644 --- a/CSharp/SmackMyBitch.cs +++ b/CSharp/SmackMyBitch.cs @@ -19,14 +19,14 @@ namespace Hacker_Scripts { var twilio = new TwilioRestClient(TWILIO_ACCOUNT_SID, AUTH_TOKEN); - string[] randomMessages = { + var randomMessages = { "Working hard", "Gotta ship this feature", "Someone fucked the system again" }; - int randomIndex = new Random().Next(randomMessages.Count()); - String messageToSend = (randomMessages[randomIndex]); + var randomIndex = new Random().Next(randomMessages.Count()); + var messageToSend = (randomMessages[randomIndex]); var message = twilio.SendMessage(YOUR_NUMBER, HER_NUMBER, messageToSend); Console.WriteLine(message.Sid);