Phonem
Phonem
CC#
Created by Phonem on 6/9/2023 in #help
✅ classes giving me an error for no reason
thanks for the help though! (i really have to not forget saving files i always forget them)
40 replies
CC#
Created by Phonem on 6/9/2023 in #help
✅ classes giving me an error for no reason
i pasted the link my friend gave me so i could read it later but yeah, it seems pretty advanced thing for now
40 replies
CC#
Created by Phonem on 6/9/2023 in #help
✅ classes giving me an error for no reason
does nullables change anything? a friend told me that i could add ! next to the things to disable them
40 replies
CC#
Created by Phonem on 6/9/2023 in #help
✅ classes giving me an error for no reason
(im so dumb 💀)
40 replies
CC#
Created by Phonem on 6/9/2023 in #help
✅ classes giving me an error for no reason
40 replies
CC#
Created by Phonem on 6/9/2023 in #help
✅ classes giving me an error for no reason
uh oh
40 replies
CC#
Created by Phonem on 6/9/2023 in #help
✅ classes giving me an error for no reason
...
40 replies
CC#
Created by Phonem on 6/9/2023 in #help
✅ classes giving me an error for no reason
what does that mean?
40 replies
CC#
Created by Phonem on 6/9/2023 in #help
✅ classes giving me an error for no reason
40 replies
CC#
Created by Phonem on 6/9/2023 in #help
✅ classes giving me an error for no reason
i got it
40 replies
CC#
Created by Phonem on 6/9/2023 in #help
✅ classes giving me an error for no reason
oh wait
40 replies
CC#
Created by Phonem on 6/9/2023 in #help
✅ classes giving me an error for no reason
its giving me a virus threat thing for some reason
40 replies
CC#
Created by Phonem on 6/9/2023 in #help
✅ classes giving me an error for no reason
lemme try
40 replies
CC#
Created by Phonem on 6/9/2023 in #help
✅ classes giving me an error for no reason
uhhsorry but... how do i convert files into zip? i have never done that before >.<
40 replies
CC#
Created by Phonem on 6/9/2023 in #help
✅ classes giving me an error for no reason
could it be something with extensions?
40 replies
CC#
Created by Phonem on 6/9/2023 in #help
✅ classes giving me an error for no reason
on terminal i use "dotnet run" to run my programs
40 replies
CC#
Created by Phonem on 6/9/2023 in #help
✅ classes giving me an error for no reason
but it is yeah
40 replies
CC#
Created by Phonem on 6/9/2023 in #help
✅ classes giving me an error for no reason
40 replies
CC#
Created by Phonem on 6/9/2023 in #help
✅ classes giving me an error for no reason
<Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <OutputType>Exe</OutputType> <TargetFramework>net7.0</TargetFramework> <RootNamespace>C_</RootNamespace> <ImplicitUsings>enable</ImplicitUsings> <Nullable>enable</Nullable> </PropertyGroup> </Project>
40 replies
CC#
Created by Phonem on 11/5/2022 in #help
user input number error
namespace kodlama_bilmiyorum
{
class Program
{
static void Main(string[] args)
{

Console.Write("Enter a number: ");
int num = Convert.ToInt32(Console.ReadLine());
Console.WriteLine(cube(num));
}
static int cube(int num)
{
int result = num * num * num;
return result;
}
}
}
namespace kodlama_bilmiyorum
{
class Program
{
static void Main(string[] args)
{

Console.Write("Enter a number: ");
int num = Convert.ToInt32(Console.ReadLine());
Console.WriteLine(cube(num));
}
static int cube(int num)
{
int result = num * num * num;
return result;
}
}
}
if anyone wants the right solution
8 replies