[ DOT NET Core MCQS ]

झारखंड में आयोजित होने वाली JPSC, JSSC, JET, झारखंड पुलिस भर्ती परीक्षा आदि के लिए उपयोगी सामान्य अध्ययन।

[ DOT NET Core MCQS ]

Useful GK for JPSC, JSSC, JET, Jharkhand Police and other exams.
471. DateTime.Now क्या Return करता है?
[A] Current Local Date and Time
[B] UTC Time
[C] Only Date
[D] Only Time
471. What does DateTime.Now return?
[A] Current Local Date and Time
[B] UTC Time
[C] Only Date
[D] Only Time
सही उत्तर: Current Local Date and Time
व्याख्या: System की Current Local Date और Time Return करता है।
Correct Answer: Current Local Date and Time
Explanation: Returns current local date and time.
472. DateTime.UtcNow क्या Return करता है?
[A] Current UTC Date and Time
[B] Local Time
[C] Only Date
[D] Only Time
472. What does DateTime.UtcNow return?
[A] Current UTC Date and Time
[B] Local Time
[C] Only Date
[D] Only Time
सही उत्तर: Current UTC Date and Time
व्याख्या: Universal Coordinated Time Return करता है।
Correct Answer: Current UTC Date and Time
Explanation: Returns current UTC date and time.
473. DateTime.AddDays() Method का उपयोग किसलिए होता है?
[A] Days Add करने के लिए
[B] Months Add करने के लिए
[C] Years Add करने के लिए
[D] Hours Add करने के लिए
473. What is DateTime.AddDays() used for?
[A] Add Days
[B] Add Months
[C] Add Years
[D] Add Hours
सही उत्तर: Days Add करने के लिए
व्याख्या: Date में दिए गए Days जोड़ती है।
Correct Answer: Add Days
Explanation: Adds specified days to a date.
474. DateTime.AddMonths() Method क्या करती है?
[A] Months Add करती है
[B] Days Add करती है
[C] Years Add करती है
[D] Minutes Add करती है
474. What does DateTime.AddMonths() do?
[A] Adds Months
[B] Adds Days
[C] Adds Years
[D] Adds Minutes
सही उत्तर: Months Add करती है
व्याख्या: Date में दिए गए Months जोड़ती है।
Correct Answer: Adds Months
Explanation: Adds specified months to a date.
475. DateTime.AddYears() Method का उपयोग किसलिए होता है?
[A] Years Add करने के लिए
[B] Months Add करने के लिए
[C] Days Add करने के लिए
[D] Hours Add करने के लिए
475. What is DateTime.AddYears() used for?
[A] Add Years
[B] Add Months
[C] Add Days
[D] Add Hours
सही उत्तर: Years Add करने के लिए
व्याख्या: Date में Years जोड़ती है।
Correct Answer: Add Years
Explanation: Adds specified years to a date.
476. List.Add() Method का उपयोग किसलिए किया जाता है?
[A] List में Item जोड़ने के लिए
[B] Item Delete करने के लिए
[C] Item Search करने के लिए
[D] List Sort करने के लिए
476. What is List.Add() used for?
[A] Add Item to List
[B] Delete Item
[C] Search Item
[D] Sort List
सही उत्तर: List में Item जोड़ने के लिए
व्याख्या: Add() Method List के अंत में नया Item जोड़ती है।
Correct Answer: Add Item to List
Explanation: Add() inserts a new item at the end of the list.
477. List.AddRange() Method क्या करती है?
[A] Multiple Items Add करती है
[B] Items Delete करती है
[C] List Reverse करती है
[D] List Search करती है
477. What does List.AddRange() do?
[A] Adds Multiple Items
[B] Deletes Items
[C] Reverses List
[D] Searches List
सही उत्तर: Multiple Items Add करती है
व्याख्या: एक साथ Collection के कई Items जोड़ती है।
Correct Answer: Adds Multiple Items
Explanation: Adds multiple items from a collection.
478. List.Remove() Method का उपयोग किसलिए होता है?
[A] Specified Item Remove करने के लिए
[B] List Clear करने के लिए
[C] Item Add करने के लिए
[D] Sort करने के लिए
478. What is List.Remove() used for?
[A] Remove Specified Item
[B] Clear List
[C] Add Item
[D] Sort List
सही उत्तर: Specified Item Remove करने के लिए
व्याख्या: पहला Matching Item Remove करती है।
Correct Answer: Remove Specified Item
Explanation: Removes the first matching item.
479. List.RemoveAt() Method क्या करती है?
[A] Index के आधार पर Item Remove करती है
[B] Value Add करती है
[C] Search करती है
[D] Sort करती है
479. What does List.RemoveAt() do?
[A] Removes Item by Index
[B] Adds Value
[C] Searches
[D] Sorts
सही उत्तर: Index के आधार पर Item Remove करती है
व्याख्या: Specified Index का Item हटाती है।
Correct Answer: Removes Item by Index
Explanation: Removes item at specified index.
480. List.RemoveAll() Method का उद्देश्य क्या है?
[A] Condition Match करने वाले सभी Items Remove करना
[B] List Clear करना
[C] List Copy करना
[D] List Reverse करना
480. What is List.RemoveAll() used for?
[A] Remove All Matching Items
[B] Clear List
[C] Copy List
[D] Reverse List
सही उत्तर: Condition Match करने वाले सभी Items Remove करना
व्याख्या: Predicate के आधार पर Items Remove करती है।
Correct Answer: Remove All Matching Items
Explanation: Removes items matching a predicate.