private bool ExecuteCode(string code, CompiledCodeProperties compiledCodeProperties, string programInput,
                          SupportedProgrammingLanguages.Languages language)
 {
     try
     {
         if (compiledCodeProperties.IsCompiledSuccessfully)
         {
             CodeEvaluationInitiater codeEvaluation = new CodeEvaluationInitiater();
             _executedCodeProperties = codeEvaluation.InitiateCodeExecution(
                 GetProgramProperties(code, language, programInput),
                 compiledCodeProperties
                 );
             _executedCodeProperties.ExecutedSuccessfully = true;
         }
         else
         {
             _executedCodeProperties.CompiledCodeProp = compiledCodeProperties;
         }
     }
     catch (MissingProgramPropertiesValueException ex)
     {
         _executedCodeProperties.ExecutedSuccessfully = false;
         return(false);
     }
     catch (Exception ex)
     {
         _executedCodeProperties.ExecutedSuccessfully = false;
         return(false);
     }
     return(true);
 }
        private void CompileCode(string code, SupportedProgrammingLanguages.Languages language)
        {
            CodeEvaluationInitiater codeEvaluation = new CodeEvaluationInitiater();

            _compiledCodeProperties = codeEvaluation.InitiateCompilation(GetProgramProperties(code, language));
        }