Функционални
Използваме бисквитки и подобни технологии, за да предоставим нашите услуги. Използваме „сесийни“ бисквитки, за да Ви идентифицираме временно. Те се пазят само по време на активната употреба на услугите ни. След излизане от приложението, затваряне на браузъра или мобилното устройство, данните се трият.
Използваме бисквитки, за да предоставим опцията „Запомни Ме“, която Ви позволява да използвате нашите услуги без да предоставяте потребителско име и парола. Допълнително е възможно да използваме бисквитки за да съхраняваме различни малки настройки, като избор на езика, позиции на менюта и персонализирано съдържание.
Използваме бисквитки и за измерване на маркетинговите ни усилия.
Здравейте,
И аз имам същия проблем:
Получи се отново не знам къде бъркам:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Inches2Centimeters
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Inches: ");
var Inches = int.Parse(Console.ReadLine());
var centimeters = Inches * 2.54;
Console.Write("Centimeters = ");
Console.WriteLine(centimeters);
}
}
}
Compiled file is missing. Compiler output: C:\Windows\TEMP\ExecutionStrategies\gwy53yh1.hq4\tmpE189.tmp.cpp:1:7: error: expected nested-name-specifier before 'System' using System; ^~~~~~ C:\Windows\TEMP\ExecutionStrategies\gwy53yh1.hq4\tmpE189.tmp.cpp:2:7: error: expected nested-name-specifier before 'System' using System.Collections.Generic; ^~~~~~ C:\Windows\TEMP\ExecutionStrategies\gwy53yh1.hq4\tmpE189.tmp.cpp:3:7: error: expected nested-name-specifier before 'System' using System.Linq; ^~~~~~ C:\Windows\TEMP\ExecutionStrategies\gwy53yh1.hq4\tmpE189.tmp.cpp:4:7: error: expected nested-name-specifier before 'System' using System.Text; ^~~~~~ C:\Windows\TEMP\ExecutionStrategies\gwy53yh1.hq4\tmpE189.tmp.cpp:5:7: error: expected nested-name-specifier before 'System' using System.Threading.Tasks; ^~~~~~ C:\Windows\TEMP\ExecutionStrategies\gwy53yh1.hq4\tmpE189.tmp.cpp:11:26: error: 'string' has not been declared static void Main(string[] args) ^~~~~~ C:\Windows\TEMP\ExecutionStrategies\gwy53yh1.hq4\tmpE189.tmp.cpp:11:35: error: expected ',' or '...' before 'args' static void Main(string[] args) ^~~~ C:\Windows\TEMP\ExecutionStrategies\gwy53yh1.hq4\tmpE189.tmp.cpp:19:5: error: expected ';' after class definition } ^ C:\Windows\TEMP\ExecutionStrategies\gwy53yh1.hq4\tmpE189.tmp.cpp: In static member function 'static void Inches2Centimeters::Program::Main(int*)': C:\Windows\TEMP\ExecutionStrategies\gwy53yh1.hq4\tmpE189.tmp.cpp:13:13: error: 'Console' was not declared in this scope Console.WriteLine("Inches: "); ^~~~~~~ C:\Windows\TEMP\ExecutionStrategies\gwy53yh1.hq4\tmpE189.tmp.cpp:14:13: error: 'var' was not declared in this scope var Inches = int.Parse(Console.ReadLine()); ^~~ C:\Windows\TEMP\ExecutionStrategies\gwy53yh1.hq4\tmpE189.tmp.cpp:15:17: error: expected ';' before 'centimeters' var centimeters = Inches * 2.54; ^~~~~~~~~~~ C:\Windows\TEMP\ExecutionStrategies\gwy53yh1.hq4\tmpE189.tmp.cpp:17:31: error: 'centimeters' was not declared in this scope Console.WriteLine(centimeters); ^~~~~~~~~~~