Basic example using the MongoDb.Driver package. You'll need some data types defined, something like:
// Use [BsonIgnoreExtraElements] attribute when not defining ALL fields in record
internal class MainRecord
{
public ObjectId _id { get; set; }
public List<ArrayItem> ResourceStatus { get; set; }
// All the other fields here
}
// [BsonIgnoreExtraElements] as above
internal class ArrayItem
{
public string E2EId { get; set; }
}
(Note - I've omitted all the fields not required to do the array search).
Then to actually query the data:
var client = new MongoClient();
IMongoDatabase db = client.GetDatabase("database-name-here");
var collectionName = "collection-name-here";
IMongoCollection<MainRecord> collection = db.GetCollection<MainRecord>(collectionName);
var filter = Builders<MainRecord>.Filter.ElemMatch(x => x.ResourceStatus, x => x.E2EId == "1fdsfsfsfsfsffds0");
var result = collection.Find(filter);
EDIT: And I'd recommend looking at this post which gives some alternative approaches.