Sheraf
Sheraf
CC#
Created by Sheraf on 3/13/2023 in #help
❔ Hello I am new to C#, I dont understand this error:
Thanks for the help guys!
64 replies
CC#
Created by Sheraf on 3/13/2023 in #help
❔ Hello I am new to C#, I dont understand this error:
This is pure testing at this point
64 replies
CC#
Created by Sheraf on 3/13/2023 in #help
❔ Hello I am new to C#, I dont understand this error:
Yeah i should grab the database and the collection before the loop obviously
64 replies
CC#
Created by Sheraf on 3/13/2023 in #help
❔ Hello I am new to C#, I dont understand this error:
No clue i just started using mongo and csharp
64 replies
CC#
Created by Sheraf on 3/13/2023 in #help
❔ Hello I am new to C#, I dont understand this error:
or forces you to write clean code
64 replies
CC#
Created by Sheraf on 3/13/2023 in #help
❔ Hello I am new to C#, I dont understand this error:
I kinda like it tho, i feel like it makes things more clear
64 replies
CC#
Created by Sheraf on 3/13/2023 in #help
❔ Hello I am new to C#, I dont understand this error:
Not used to all these types, I come from python :x
64 replies
CC#
Created by Sheraf on 3/13/2023 in #help
❔ Hello I am new to C#, I dont understand this error:
var (database, collection, document) = _insertQueue.Dequeue(); ?
64 replies
CC#
Created by Sheraf on 3/13/2023 in #help
❔ Hello I am new to C#, I dont understand this error:
:/
64 replies
CC#
Created by Sheraf on 3/13/2023 in #help
❔ Hello I am new to C#, I dont understand this error:
64 replies
CC#
Created by Sheraf on 3/13/2023 in #help
❔ Hello I am new to C#, I dont understand this error:
and then :
public void Insert(string database, string collection, BsonDocument document)
{
_insertQueue.Enqueue((database, collection, document));
}
public void Insert(string database, string collection, BsonDocument document)
{
_insertQueue.Enqueue((database, collection, document));
}
64 replies
CC#
Created by Sheraf on 3/13/2023 in #help
❔ Hello I am new to C#, I dont understand this error:
this makes sense?
64 replies
CC#
Created by Sheraf on 3/13/2023 in #help
❔ Hello I am new to C#, I dont understand this error:
private Queue<(string, string, BsonDocument)> _insertQueue = new Queue<(string, string, BsonDocument)>();
64 replies
CC#
Created by Sheraf on 3/13/2023 in #help
❔ Hello I am new to C#, I dont understand this error:
I added the import
64 replies
CC#
Created by Sheraf on 3/13/2023 in #help
❔ Hello I am new to C#, I dont understand this error:
private Queue<object[]> _insertQueue = new Queue<string, string, BsonDocument>();
64 replies
CC#
Created by Sheraf on 3/13/2023 in #help
❔ Hello I am new to C#, I dont understand this error:
ok
64 replies
CC#
Created by Sheraf on 3/13/2023 in #help
❔ Hello I am new to C#, I dont understand this error:
Not letting me
64 replies
CC#
Created by Sheraf on 3/13/2023 in #help
❔ Hello I am new to C#, I dont understand this error:
64 replies
CC#
Created by Sheraf on 3/13/2023 in #help
❔ Hello I am new to C#, I dont understand this error:
Error: Specified cast is not valid.
64 replies
CC#
Created by Sheraf on 3/13/2023 in #help
❔ Hello I am new to C#, I dont understand this error:
private Queue _insertQueue = new Queue();
64 replies