Answer the question
In order to leave comments, you need to log in
Do I need to instantiate the class in the arguments?
I am trying to shorten my code and instead of:
var config = new DiscordConfiguration{};
Client = new DiscordClient(config);
Client = new DiscordClient(new DiscordConfiguration
{
});
Answer the question
In order to leave comments, you need to log in
Pure taste. I usually write in one line, if it fits into 80 characters, if more, then I share it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question