Download Logo

C# basics (Ch. 3)

Comments in C# Comments are essential for making your code understandable. They can explain what your code does, which is helpful for anyone reading it (including yourself). Inline Comments: Use // for single-line comments. 1 // This is an inline comment. Multi-line Comments: Use /* */ for comments that span multiple lines. 1 2 3 4 /* This is a multi-line comment. It spans multiple lines. */ Semicolons In C#, every statement ends with a semicolon (;). This tells the compiler where a statement ends. ...

June 16, 2024 · 3 min · 461 words · PrashantUnity
Download Logo

CFD loading SVG

Loading Animation 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 <?xml version="1.0" encoding="UTF-8" standalone="no"?> <svg width="300" height="300" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"> <text x="1" y="29" font-size="7" fill="white" font-family="Ubuntu">CFD AI</text> <style> .spinner { animation: move 2.4s linear infinite; } .delay1 { animation-delay: -2.4s; fill: #9BFAFF; } .delay2 { animation-delay: -1.6s; fill: #FFBD4D; } .delay3 { animation-delay: -0.8s; fill: #FFF8B3; } @keyframes move { 0%, 8.33% { x: 2px; y: 2px; } 25% { x: 13px; y: 2px; } 33.3%, 50% { x: 13px; y: 13px; } 58.33%, 75% { x: 2px; y: 13px; } 83.33%, 100% { x: 2px; y: 2px; } } </style> <rect class="spinner delay1" x="2" y="2" rx="2" width="10" height="10"/> <rect class="spinner delay2" x="2" y="2" rx="2" width="10" height="10"/> <rect class="spinner delay3" x="2" y="2" rx="2" width="10" height="10"/> </svg>

July 24, 2024 · 1 min · 171 words · PrashantUnity