C++ vs C# side-by-side comparison(Hello world)

Поделиться
HTML-код
  • Опубликовано: 28 окт 2024

Комментарии • 87

  • @predragnikolic7793
    @predragnikolic7793 2 года назад +169

    Do python vs asembly next

  • @El-minshawi-
    @El-minshawi- Год назад +144

    Python :
    print ("hallo World") 😂

    • @andrewnick8272
      @andrewnick8272  Год назад +8

      😂😂

    • @manoyal
      @manoyal Год назад +8

      Das ist Deutsch

    • @LetroScript
      @LetroScript Год назад +9

      Javascript and Typescript:
      console.log("Hello, World!);
      console.log("Hello, World!" as string);

    • @brendon205
      @brendon205 Год назад +16

      Also pyhon: 🐢

    • @Vector369.
      @Vector369. Год назад +7

      ​@@brendon205
      C family be like: I am speed
      ❤ for c++&c#

  • @dylanisaking
    @dylanisaking 9 месяцев назад +12

    Bro was testing our patience

  • @DagothDaddy
    @DagothDaddy Год назад +56

    Yes but without C# how will I create my first person jumpscare horor game in unity that earns 80 million dollars and gets an entire youtube subculture.

    • @bullymaguire1697
      @bullymaguire1697 Год назад +1

      😂

    • @LMGdev
      @LMGdev Год назад +3

      do the same thing in UE with C++ xD

    • @LuizComZOficial
      @LuizComZOficial Год назад +2

      I guess now u want to make your game in c++ with UE 😅😅 those 0,20 😢

    • @andrewliu6592
      @andrewliu6592 9 месяцев назад

      build your own game engine with glfw xd

    • @mad_housekeeper
      @mad_housekeeper 8 месяцев назад +2

      Unreal Engine. dude

  • @Ghost-Toast819
    @Ghost-Toast819 8 месяцев назад +2

    It seems like c++ while utilizing more foundational work is actually more efficient than C sharp

  • @Red_Tutorials
    @Red_Tutorials Месяц назад +1

    C# more concice:
    class Program{
    static void Main() => System.Console.WriteLine("Hello world!");
    }

  • @teaSer7_GGADC
    @teaSer7_GGADC Год назад +6

    Forgot to put namespace in C#

    • @andrewnick8272
      @andrewnick8272  Год назад +3

      You don't need to put namespace if it's just a "hello world" program😅

    • @teaSer7_GGADC
      @teaSer7_GGADC Год назад

      @@andrewnick8272 oh umm ok but im just actually a beginner of C# i join since august one :)

    • @sporksto4372
      @sporksto4372 Год назад

      ​@@andrewnick8272You need to.

    • @tibecornelis4588
      @tibecornelis4588 2 месяца назад

      @@andrewnick8272you also dont need a static void main for that

  • @ivan69420.
    @ivan69420. Год назад +74

    Bro why are you typing so slow

    • @craftrumzen2393
      @craftrumzen2393 Год назад

      At least faster than your mom

    • @BlueProgamer212
      @BlueProgamer212 Год назад +11

      He's probably saying "Oh I think this keyboard doesn't have a letter S"
      His hand is probably running only on the main thread. (Not compatible for multi threading so that's why it's slow)

    • @Seema-w4m9j
      @Seema-w4m9j Год назад +5

      He is just trying to complete 60 second shorts😂

    • @ivan69420.
      @ivan69420. 10 месяцев назад

      ​@@BlueProgamer212lol

    • @liambury529
      @liambury529 10 месяцев назад

      My man has his face 3 inches from the keyboard

  • @ayyynonomuscoder9397
    @ayyynonomuscoder9397 Месяц назад

    Actually, code wars is karate. Katas is simply a part of karate which is, simply put, forms.

  • @ariel6148
    @ariel6148 2 года назад +26

    Now in NET 6 only write
    Console.WriteLine("Hello World");

    • @binkeerani326
      @binkeerani326 Год назад

      And console. Readline () ;

    • @AquaQuokka
      @AquaQuokka Год назад +1

      ​@@binkeerani326 You only need that if you need to keep the window open.

    • @FreeFree-id1lc
      @FreeFree-id1lc Год назад

      ​@@AquaQuokkaif you don't write readline it will not give you time for understanding what happened

    • @cookiecrumbzi
      @cookiecrumbzi Год назад

      ​@@FreeFree-id1lcNot if you use your IDE's internal terminal

  • @beasthunterytmax3596
    @beasthunterytmax3596 11 месяцев назад +1

    Java:
    public class HelloWorld
    {
    public static void main(String args[])
    {
    System.out.println("Hello World");
    }
    }
    //It is so similar to C sharp

  • @dharanibala8443
    @dharanibala8443 Год назад +21

    Why return 0 in c++ why it's use.

    • @milannikolic3215
      @milannikolic3215 Год назад +13

      If the program executes perfectly it returns value of 0 to the main function indicating tbat a program is doing its job

    • @JoachimFosse
      @JoachimFosse Год назад

      Error codes 😊

    • @spongebobiscoming8142
      @spongebobiscoming8142 Год назад

      You dont really need it.

    • @alphenex8974
      @alphenex8974 Год назад

      It is used to say to your OS that "program ran without issues"
      If you return 1 then it tells the OS that the program had exited because of a problem.

    • @triggergames9731
      @triggergames9731 Год назад

      To end the main function - aisa hame college me sikhaya tha

  • @rockygaming3663
    @rockygaming3663 Год назад +44

    C sharp is more like Java

    • @RedactedsLair
      @RedactedsLair Год назад +9

      Very much like java!
      It has the Java "public static void Main(string(args))"

    • @DagothDaddy
      @DagothDaddy Год назад +16

      Best description I heard from a professor it's Java wearing a C skin suit.

    • @brendon205
      @brendon205 Год назад +4

      It's java, if java was good

    • @darrenxavierjohan861
      @darrenxavierjohan861 8 месяцев назад

      Fr fr

    • @gamerz000.
      @gamerz000. 7 месяцев назад

      It's c++ and Java mixture then one who made c# said that himself
      C# was first called c++++ which later turned into c#

  • @ShadowbearsCamisas
    @ShadowbearsCamisas Год назад

    The problem of python is the speed, however is a lot more easy to use and work

  • @MrYemenBoy
    @MrYemenBoy 11 месяцев назад

    Typing comparison 😅

  • @444limm
    @444limm 8 месяцев назад

    std::print("Hello world!");

  • @mcteddy7033
    @mcteddy7033 6 месяцев назад +1

    wtf is blud doing

  • @f1re477
    @f1re477 Год назад +7

    а если c# не афк

  • @paradoxine6287
    @paradoxine6287 4 месяца назад +1

    Bro not using name space 🤮

  • @krishnasika7379
    @krishnasika7379 8 месяцев назад

    Samjh nhi aya

  • @shobharaniheddula6049
    @shobharaniheddula6049 5 месяцев назад +1

    Bro i never saw a C# code but it looks like 90% java

  • @MrNorbi1564
    @MrNorbi1564 Год назад

    C++ uaung namespace std; int main (){ cout

  • @Neptune-vu9jk
    @Neptune-vu9jk Год назад

    Which one is c#

  • @yassprogames
    @yassprogames 24 дня назад

    Javascript
    Console.log('hello world');