in the future - u will be able to do some more stuff here,,,!! like pat catgirl- i mean um yeah... for now u can only see others's posts :c
const string s0 = "l";
string s1 = "hello";
string s2 = $"he{s0 + s0}o";
Console.Write(s1 == s2);
Console.Write(", ");
Console.WriteLine(ReferenceEquals(s1, s2));
53 - 8
You know the drill. Don't change your answer if you got it wrong!
Foo foo = 1;
Console.WriteLine(foo);
record Foo(int Value)
{
public static implicit operator Foo(int value) => new(value + 1);
public static Foo operator *(Foo lhs, Foo rhs) => lhs.Value * rhs.Value;
public override string ToString() => (this * 1).Value.ToString();
}
32 - 6
If you're wrong, don't change your answer after the fact!
(var @_, var _) = (5, 2);
Console.WriteLine(@_ / _);
91 - 9
Just uploaded "Getting Started with Dapper in .NET" which will go live in a little over a month.
It's available here today for members of the channel alongside a few others:
www.youtube.com/playlist?list...
60 - 0
It's out!
A 6 hour deep dive into designing Aggregates, identifying Sub-Domains, establishing Bounded Contexts, defining Ubiquitous Language and Invariants, Event Storming workshops, Context Mapping and more.
Really stoked about this one. Can't wait for you to watch it!
dometrain.com/course/deep-dive-domain-driven-desig… (promo code AMICHAI20)
45 - 6
After 2 years of saying "yeah maybe in the future", I've finally launched the discord server! Join as any Patron tier and come hang out, ask questions, chill, and make fun of my videos 😆
www.patreon.com/amantinband
12 - 0
Btw I opened a “early access” membership tier a few weeks ago, so check it out if you want to get access to new videos as I upload them and support the channel 🫶🏼
www.youtube.com/playlist?list...
9 - 3
What will be the response http status code when making a GET request to "/"?
var builder = WebApplication.CreateBuilder(args);
var app = builder.Build();
app.UseExceptionHandler("/error");
app.MapGet("/", () => new Exception("something went wrong"));
app.MapGet("/error", () => Results.NotFound());
app.Run();
111 - 19
Hey there! In this channel I'm creating industry-level tutorials about coding, design patterns, architecture, and the latest and greatest libraries, tricks, and tips you should definitely know about.